CircularArcGlyphElement
-
class
CircularArcGlyphElement
: public HPS::GlyphElement The CircularArcGlyphElement class is a user space object. It is used to add circular arc elements to a glyph.
Public Functions
-
CircularArcGlyphElement
() The default constructor creates an empty CircularArcGlyphElement object.
-
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.
Parameters: in_that – An rvalue reference to a CircularArcGlyphElement to take the impl from.
-
CircularArcGlyphElement
(CircularArcGlyphElement const &in_that) The copy constructor creates a new CircularArcGlyphElement object that contains the same settings as the source CircularArcGlyphElement.
Parameters: in_that – The source CircularArcGlyphElement to copy.
-
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.
Parameters: in_that – The source GlyphElement to copy.
-
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.
Parameters: - 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.
-
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.
-
CircularArcGlyphElement &
operator=
(CircularArcGlyphElement &&in_that) The move assignment operator transfers the underlying impl of the rvalue reference to this CircularArcGlyphElement thereby avoiding a copy.
Parameters: in_that – An rvalue reference to a CircularArcGlyphElement to take the impl from. Returns: A reference to this CircularArcGlyphElement.
-
void
SetEndPoint
(GlyphPoint const &in_point) Sets the end point for the circular arc for this CircularArcGlyphElement.
Parameters: in_point – The end point for the circular arc.
-
void
SetIntermediatePoint
(GlyphPoint const &in_point) Sets the intermediate point for the circular arc for this CircularArcGlyphElement.
Parameters: in_point – The intermediate point for the circular arc.
-
void
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.
Parameters: - 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
SetStartPoint
(GlyphPoint const &in_point) Sets the start point for the circular arc for this CircularArcGlyphElement.
Parameters: in_point – The start point for the circular arc.
-
bool
ShowEndPoint
(GlyphPoint &out_point) const Shows the end point for the circular arc for this CircularArcGlyphElement.
Parameters: out_point – The end point for the circular arc. Returns: true if an end point was set, false otherwise.
-
bool
ShowIntermediatePoint
(GlyphPoint &out_point) const Shows the intermediate point for the circular arc for this CircularArcGlyphElement.
Parameters: out_point – The intermediate point for the circular arc. Returns: true if an intermediate point was set, false otherwise.
-
bool
ShowStartPoint
(GlyphPoint &out_point) const Shows the start point for the circular arc for this CircularArcGlyphElement.
Parameters: out_point – The start point for the circular arc. Returns: true if a start point was set, false otherwise.
-
~CircularArcGlyphElement
()
-