#include <hps.h>

Public Member Functions | |
LineGlyphElement () | |
LineGlyphElement (GlyphElement const &in_that) | |
LineGlyphElement (LineGlyphElement const &in_that) | |
LineGlyphElement (GlyphPointArray const &in_points) | |
LineGlyphElement (size_t in_count, GlyphPoint const in_points[]) | |
LineGlyphElement (LineGlyphElement &&in_that) | |
HPS::Type | ObjectType () const |
LineGlyphElement & | operator= (LineGlyphElement &&in_that) |
void | SetPoints (GlyphPointArray const &in_points) |
void | SetPoints (size_t in_count, GlyphPoint const in_points[]) |
bool | ShowPoints (GlyphPointArray &out_points) const |
![]() | |
bool | Equals (GlyphElement const &in_that) const |
GlyphElement () | |
GlyphElement (GlyphElement const &in_that) | |
GlyphElement (GlyphElement &&in_that) | |
bool | operator!= (GlyphElement const &in_that) const |
GlyphElement & | operator= (GlyphElement &&in_that) |
GlyphElement & | operator= (GlyphElement const &in_that) |
bool | operator== (GlyphElement const &in_that) const |
void | Set (GlyphElement const &in_that) |
void | SetExplicitColor (RGBAColor const &in_color) |
void | SetFill (Glyph::Fill in_fill) |
void | SetIndexedColor (byte in_index) |
void | SetNormalColor () |
bool | ShowColor (Glyph::ColorSource &out_source, byte &out_index, RGBAColor &out_color) const |
bool | ShowFill (Glyph::Fill &out_fill) const |
![]() | |
virtual bool | Empty () const |
intptr_t | GetClassID () const |
intptr_t | GetInstanceID () const |
bool | HasType (HPS::Type in_mask) const |
Object (Object const &that) | |
Object (Object &&in_that) | |
Object & | operator= (Object const &other_object) |
Object & | operator= (Object &&in_that) |
virtual void | Reset () |
virtual HPS::Type | Type () const |
Additional Inherited Members | |
![]() | |
template<typename T > | |
static intptr_t | ClassID () |
Detailed Description
The LineGlyphElement class is a user space object.
Constructor & Destructor Documentation
HPS::LineGlyphElement::LineGlyphElement | ( | ) |
The default constructor creates an empty LineGlyphElement object.
HPS::LineGlyphElement::LineGlyphElement | ( | GlyphElement const & | in_that | ) |
This constructor creates a LineGlyphElement object that contains the same settings as the source GlyphElement. The copy will only be successful if the source glyph element is really an upcast of a line glyph element. Otherwise the copy will fail and the resulting LineGlyphElement will be invalid.
- Parameters
-
in_that The source GlyphElement to copy.
HPS::LineGlyphElement::LineGlyphElement | ( | LineGlyphElement const & | in_that | ) |
The copy constructor creates a new LineGlyphElement object that contains the same settings as the source LineGlyphElement.
- Parameters
-
in_that The source LineGlyphElement to copy.
|
explicit |
This constructor creates a LineGlyphElement with the specified point array.
- Parameters
-
in_points The points for the line.
HPS::LineGlyphElement::LineGlyphElement | ( | size_t | in_count, |
GlyphPoint const | in_points[] | ||
) |
This constructor creates a LineGlyphElement with the specified point array.
- Parameters
-
in_count Size of the following array. in_points The points for the line.
HPS::LineGlyphElement::LineGlyphElement | ( | LineGlyphElement && | in_that | ) |
The move constructor creates a LineGlyphElement by transferring the underlying impl of the rvalue reference to this LineGlyphElement thereby avoiding a copy and allocation.
- Parameters
-
in_that An rvalue reference to a LineGlyphElement to take the impl from.
Member Function Documentation
|
inlinevirtual |
This function returns the type the object, as declared. This does not necessarily give the true type of the underlying object.
- Returns
- The declared type of the object in question, which may differ from the true, underlying type.
Reimplemented from HPS::GlyphElement.
LineGlyphElement& HPS::LineGlyphElement::operator= | ( | LineGlyphElement && | in_that | ) |
The move assignment operator transfers the underlying impl of the rvalue reference to this LineGlyphElement thereby avoiding a copy.
- Parameters
-
in_that An rvalue reference to a LineGlyphElement to take the impl from.
- Returns
- A reference to this LineGlyphElement.
void HPS::LineGlyphElement::SetPoints | ( | GlyphPointArray const & | in_points | ) |
Sets the points for this LineGlyphElement.
- Parameters
-
in_points The points for the line.
void HPS::LineGlyphElement::SetPoints | ( | size_t | in_count, |
GlyphPoint const | in_points[] | ||
) |
Sets the points for this LineGlyphElement.
- Parameters
-
in_count Size of the following array. in_points The points for the line.
bool HPS::LineGlyphElement::ShowPoints | ( | GlyphPointArray & | out_points | ) | const |
Shows the points for this LineGlyphElement.
- Parameters
-
out_points The points for the line.
- Returns
- true if points were set, false otherwise.
The documentation for this class was generated from the following file:
- include/hps.h