#include <hps.h>
Public Member Functions | |
CircularArcGlyphElement () | |
CircularArcGlyphElement (GlyphElement const &in_that) | |
CircularArcGlyphElement (CircularArcGlyphElement const &in_that) | |
CircularArcGlyphElement (GlyphPoint const &in_start, GlyphPoint const &in_intermediate, GlyphPoint const &in_end) | |
CircularArcGlyphElement (CircularArcGlyphElement &&in_that) | |
CircularArcGlyphElement & | operator= (CircularArcGlyphElement &&in_that) |
HPS::Type | ObjectType () const |
void | SetStartPoint (GlyphPoint const &in_point) |
void | SetIntermediatePoint (GlyphPoint const &in_point) |
void | SetEndPoint (GlyphPoint const &in_point) |
void | SetPoints (GlyphPoint const &in_start, GlyphPoint const &in_intermediate, GlyphPoint const &in_end) |
bool | ShowStartPoint (GlyphPoint &out_point) const |
bool | ShowIntermediatePoint (GlyphPoint &out_point) const |
bool | ShowEndPoint (GlyphPoint &out_point) const |
![]() | |
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 |
![]() | |
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 | |
![]() | |
template<typename T > | |
static intptr_t | ClassID () |
The CircularArcGlyphElement class is a user space object. It is used to add circular arc elements to a glyph.
HPS::CircularArcGlyphElement::CircularArcGlyphElement | ( | ) |
The default constructor creates an empty CircularArcGlyphElement object.
HPS::CircularArcGlyphElement::CircularArcGlyphElement | ( | GlyphElement const & | in_that | ) |
This constructor creates a CircularArcGlyphElement 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 circular arc glyph element. Otherwise the copy will fail and the resulting CircularArcGlyphElement will be invalid.
in_that | The source GlyphElement to copy. |
HPS::CircularArcGlyphElement::CircularArcGlyphElement | ( | CircularArcGlyphElement const & | in_that | ) |
The copy constructor creates a new CircularArcGlyphElement object that contains the same settings as the source CircularArcGlyphElement.
in_that | The source CircularArcGlyphElement to copy. |
HPS::CircularArcGlyphElement::CircularArcGlyphElement | ( | GlyphPoint const & | in_start, |
GlyphPoint const & | in_intermediate, | ||
GlyphPoint const & | in_end | ||
) |
This constructor creates a CircularArcGlyphElement with the specified start, intermediate, and end points.
in_start | The start point for the circular arc. |
in_intermediate | The intermediate point for the circular arc. |
in_end | The end point for the circular arc. |
HPS::CircularArcGlyphElement::CircularArcGlyphElement | ( | CircularArcGlyphElement && | in_that | ) |
The move constructor creates a CircularArcGlyphElement by transferring the underlying impl of the rvalue reference to this CircularArcGlyphElement thereby avoiding a copy and allocation.
in_that | An rvalue reference to a CircularArcGlyphElement 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.
CircularArcGlyphElement& HPS::CircularArcGlyphElement::operator= | ( | CircularArcGlyphElement && | in_that | ) |
The move assignment operator transfers the underlying impl of the rvalue reference to this CircularArcGlyphElement thereby avoiding a copy.
in_that | An rvalue reference to a CircularArcGlyphElement to take the impl from. |
void HPS::CircularArcGlyphElement::SetEndPoint | ( | GlyphPoint const & | in_point | ) |
Sets the end point for the circular arc for this CircularArcGlyphElement.
in_point | The end point for the circular arc. |
void HPS::CircularArcGlyphElement::SetIntermediatePoint | ( | GlyphPoint const & | in_point | ) |
Sets the intermediate point for the circular arc for this CircularArcGlyphElement.
in_point | The intermediate point for the circular arc. |
void HPS::CircularArcGlyphElement::SetPoints | ( | GlyphPoint const & | in_start, |
GlyphPoint const & | in_intermediate, | ||
GlyphPoint const & | in_end | ||
) |
Sets the start, intermediate, and end points for the circular arc for this CircularArcGlyphElement.
in_point | The start point for the circular arc. |
in_point | The intermediate point for the circular arc. |
in_point | The end point for the circular arc. |
void HPS::CircularArcGlyphElement::SetStartPoint | ( | GlyphPoint const & | in_point | ) |
Sets the start point for the circular arc for this CircularArcGlyphElement.
in_point | The start point for the circular arc. |
bool HPS::CircularArcGlyphElement::ShowEndPoint | ( | GlyphPoint & | out_point | ) | const |
Shows the end point for the circular arc for this CircularArcGlyphElement.
out_point | The end point for the circular arc. |
bool HPS::CircularArcGlyphElement::ShowIntermediatePoint | ( | GlyphPoint & | out_point | ) | const |
Shows the intermediate point for the circular arc for this CircularArcGlyphElement.
out_point | The intermediate point for the circular arc. |
bool HPS::CircularArcGlyphElement::ShowStartPoint | ( | GlyphPoint & | out_point | ) | const |
Shows the start point for the circular arc for this CircularArcGlyphElement.
out_point | The start point for the circular arc. |