#include <hps.h>
Public Member Functions | |
GlyphKit () | |
GlyphKit (GlyphKit const &in_kit) | |
GlyphKit (GlyphKit &&in_that) | |
GlyphKit & | operator= (GlyphKit &&in_that) |
HPS::Type | ObjectType () const |
void | Set (GlyphKit const &in_kit) |
void | Show (GlyphKit &out_kit) const |
GlyphKit & | operator= (GlyphKit const &in_kit) |
bool | Empty () const |
bool | Equals (GlyphKit const &in_kit) const |
bool | operator== (GlyphKit const &in_kit) const |
bool | operator!= (GlyphKit const &in_kit) const |
GlyphKit & | SetRadius (sbyte in_radius) |
GlyphKit & | SetOffset (GlyphPoint const &in_point) |
GlyphKit & | SetElements (GlyphElementArray const &in_def) |
GlyphKit & | SetElements (size_t in_count, GlyphElement const in_def[]) |
GlyphKit & | UnsetRadius () |
GlyphKit & | UnsetOffset () |
GlyphKit & | UnsetElements () |
GlyphKit & | UnsetEverything () |
bool | ShowRadius (sbyte &out_radius) const |
bool | ShowOffset (GlyphPoint &out_point) const |
bool | ShowElements (GlyphElementArray &out_def) const |
![]() | |
Object (Object const &that) | |
Object & | operator= (Object const &other_object) |
Object (Object &&in_that) | |
Object & | operator= (Object &&in_that) |
HPS::Type | Type () const |
virtual void | Reset () |
bool | HasType (HPS::Type in_mask) const |
intptr_t | GetClassID () const |
intptr_t | GetInstanceID () const |
Static Public Member Functions | |
static HPS::GlyphKit | GetDefault (Glyph::Default in_default_glyph) |
![]() | |
template<typename T > | |
static intptr_t | ClassID () |
The GlyphKit class is a user space object. It is used when defining a glyph.
HPS::GlyphKit::GlyphKit | ( | ) |
The default constructor creates an empty GlyphKit object.
HPS::GlyphKit::GlyphKit | ( | GlyphKit const & | in_kit | ) |
HPS::GlyphKit::GlyphKit | ( | GlyphKit && | in_that | ) |
|
virtual |
Indicates whether this GlyphKit has any values set on it.
Reimplemented from HPS::Object.
bool HPS::GlyphKit::Equals | ( | GlyphKit const & | in_kit | ) | const |
|
static |
|
inlinevirtual |
This function returns the type the object, as declared. This does not necessarily give the true type of the underlying object.
Reimplemented from HPS::Object.
bool HPS::GlyphKit::operator!= | ( | GlyphKit const & | in_kit | ) | const |
bool HPS::GlyphKit::operator== | ( | GlyphKit const & | in_kit | ) | const |
void HPS::GlyphKit::Set | ( | GlyphKit const & | in_kit | ) |
GlyphKit& HPS::GlyphKit::SetElements | ( | GlyphElementArray const & | in_def | ) |
GlyphKit& HPS::GlyphKit::SetElements | ( | size_t | in_count, |
GlyphElement const | in_def[] | ||
) |
GlyphKit& HPS::GlyphKit::SetOffset | ( | GlyphPoint const & | in_point | ) |
GlyphKit& HPS::GlyphKit::SetRadius | ( | sbyte | in_radius | ) |
void HPS::GlyphKit::Show | ( | GlyphKit & | out_kit | ) | const |
bool HPS::GlyphKit::ShowElements | ( | GlyphElementArray & | out_def | ) | const |
Shows the elements for this GlyphKit.
out_def | The elements for the glyph. |
bool HPS::GlyphKit::ShowOffset | ( | GlyphPoint & | out_point | ) | const |
Shows the offset for this GlyphKit.
out_point | The offset for the glyph. |
bool HPS::GlyphKit::ShowRadius | ( | sbyte & | out_radius | ) | const |
Shows the radius for this GlyphKit.
out_radius | The radius for the glyph. |
GlyphKit& HPS::GlyphKit::UnsetElements | ( | ) |
Removes the elements for the glyph.
GlyphKit& HPS::GlyphKit::UnsetEverything | ( | ) |
GlyphKit& HPS::GlyphKit::UnsetOffset | ( | ) |
Removes the offset for the glyph.
GlyphKit& HPS::GlyphKit::UnsetRadius | ( | ) |
Removes the radius for the glyph.