FontInfoState
-
class FontInfoState : public HPS::Object
The FontInfoState class is a user space object, useful for carrying a group attribute settings.
Public Functions
-
void Assign(FontInfoState const &in_that)
Copies the source FontInfoState into this FontInfoState.
- Parameters:
in_that – The source LocatorState to copy.
-
virtual bool Empty() const
Indicates whether this object has any values set on it.
- Returns:
true if no values are set on this object, false otherwise.
-
bool Equals(FontInfoState const &in_kit) const
Check if the source FontInfoState is equivalent to this object.
- Parameters:
in_kit – The source FontInfoState to compare to this object.
- Returns:
true if the objects are equivalent, false otherwise.
-
FontInfoState()
Initializes an empty State.
-
FontInfoState(FontInfoState &&in_that)
The move constructor creates a FontInfoState by transferring the underlying impl of the rvalue reference to this FontInfoState thereby avoiding a copy and allocation.
- Parameters:
in_that – An rvalue reference to a FontInfoState to take the impl from.
-
FontInfoState(FontInfoState const &in_kit)
Copies the kit in_kit into this kit.
-
bool GetShellConvertibility() const
Gets the shell convertibility of this font. This determines whether or not the font can be converted into a Visualize shell.
- Returns:
A reference to this object.
-
inline virtual HPS::Type ObjectType() const
This function returns the type the object, as declared (if the object is derived, this does not give the true type of the derived object).
- Returns:
The declared type of the object in question, which may differ from the true, underlying type.
-
bool operator!=(FontInfoState const &in_kit) const
Check if the source FontInfoState is not equivalent to this object.
- Parameters:
in_kit – The source FontInfoState to compare to this object.
- Returns:
true if the objects are not equivalent, false otherwise.
-
FontInfoState &operator=(FontInfoState &&in_that)
The move assignment operator transfers the underlying impl of the rvalue reference to this FontInfoState thereby avoiding a copy.
- Parameters:
in_that – An rvalue reference to a FontInfoState to take the impl from.
- Returns:
A reference to this FontInfoState.
-
FontInfoState &operator=(FontInfoState const &in_kit)
Copies the source FontInfoState into this object.
- Parameters:
in_kit – The source FontInfoState to copy.
- Returns:
A reference to this object.
-
bool operator==(FontInfoState const &in_kit) const
Check if the source FontInfoState is equivalent to this object.
- Parameters:
in_kit – The source FontInfoState to compare to this object.
- Returns:
true if the objects are equivalent, false otherwise.
-
void Set(FontInfoState const &in_kit)
Copies the source FontInfoState into this object.
- Parameters:
in_kit – The source object to copy.
-
void Show(FontInfoState &out_kit) const
Copies this object into the given FontInfoState.
- Parameters:
out_kit – The FontInfoState to populate with the contents of this object.
-
bool ShowSystemName(HPS::UTF8 &out_name) const
Shows the system name for this font.
- Returns:
true if the system name is available, false otherwise.
-
virtual ~FontInfoState()
Destroy this kit.
-
void Assign(FontInfoState const &in_that)