#include <hps.h>
Public Member Functions | |
| DotGlyphElement () | |
| DotGlyphElement (GlyphElement const &in_that) | |
| DotGlyphElement (DotGlyphElement const &in_that) | |
| DotGlyphElement (GlyphPoint const &in_point) | |
| DotGlyphElement (DotGlyphElement &&in_that) | |
| DotGlyphElement & | operator= (DotGlyphElement &&in_that) |
| HPS::Type | ObjectType () const |
| void | SetPoint (GlyphPoint const &in_point) |
| bool | ShowPoint (GlyphPoint &out_point) const |
Public Member Functions inherited from HPS::GlyphElement | |
| GlyphElement () | |
| GlyphElement (GlyphElement const &in_that) | |
| GlyphElement (GlyphElement &&in_that) | |
| GlyphElement & | operator= (GlyphElement &&in_that) |
| void | Set (GlyphElement const &in_that) |
| GlyphElement & | operator= (GlyphElement const &in_that) |
| bool | Equals (GlyphElement const &in_that) const |
| bool | operator== (GlyphElement const &in_that) const |
| bool | operator!= (GlyphElement const &in_that) const |
| void | SetFill (Glyph::Fill in_fill) |
| void | SetIndexedColor (byte in_index) |
| void | SetNormalColor () |
| void | SetExplicitColor (RGBAColor const &in_color) |
| bool | ShowFill (Glyph::Fill &out_fill) const |
| bool | ShowColor (Glyph::ColorSource &out_source, byte &out_index, RGBAColor &out_color) const |
Public Member Functions inherited from HPS::Object | |
| Object & | operator= (Object const &other_object) |
| Object (Object &&in_that) | |
| Object & | operator= (Object &&in_that) |
| HPS::Type | Type () const |
| virtual bool | Empty () const |
| virtual void | Reset () |
| bool | HasType (HPS::Type in_mask) const |
| intptr_t | GetClassID () const |
| intptr_t | GetInstanceID () const |
Additional Inherited Members | |
Static Public Member Functions inherited from HPS::Object | |
| template<typename T > | |
| static intptr_t | ClassID () |
The DotGlyphElement class is a user space object. It is used to dot elements to glyphs.
| HPS::DotGlyphElement::DotGlyphElement | ( | ) |
The default constructor creates an empty DotGlyphElement object.
| HPS::DotGlyphElement::DotGlyphElement | ( | GlyphElement const & | in_that | ) |
This constructor creates a DotGlyphElement 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 dot glyph element. Otherwise the copy will fail and the resulting DotGlyphElement will be invalid.
| in_that | The source GlyphElement to copy. |
| HPS::DotGlyphElement::DotGlyphElement | ( | DotGlyphElement const & | in_that | ) |
The copy constructor creates a new DotGlyphElement object that contains the same settings as the source DotGlyphElement.
| in_that | The source DotGlyphElement to copy. |
|
explicit |
This constructor creates a DotGlyphElement with the specified point.
| in_point | The point for the dot. |
| HPS::DotGlyphElement::DotGlyphElement | ( | DotGlyphElement && | in_that | ) |
The move constructor creates a DotGlyphElement by transferring the underlying impl of the rvalue reference to this DotGlyphElement thereby avoiding a copy and allocation.
| in_that | An rvalue reference to a DotGlyphElement to take the impl from. |
|
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::GlyphElement.
| DotGlyphElement& HPS::DotGlyphElement::operator= | ( | DotGlyphElement && | in_that | ) |
The move assignment operator transfers the underlying impl of the rvalue reference to this DotGlyphElement thereby avoiding a copy.
| in_that | An rvalue reference to a DotGlyphElement to take the impl from. |
| void HPS::DotGlyphElement::SetPoint | ( | GlyphPoint const & | in_point | ) |
Sets the point for this DotGlyphElement.
| in_point | The point for the dot. |
| bool HPS::DotGlyphElement::ShowPoint | ( | GlyphPoint & | out_point | ) | const |
Shows the point for this DotGlyphElement.
| out_point | The point for the dot. |