DotGlyphElement

class DotGlyphElement : public HPS::GlyphElement

The DotGlyphElement class is a user space object. It is used to dot elements to glyphs.

Public Functions

DotGlyphElement()

The default constructor creates an empty DotGlyphElement object.

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.

Parameters:

in_that – An rvalue reference to a DotGlyphElement to take the impl from.

DotGlyphElement(DotGlyphElement const &in_that)

The copy constructor creates a new DotGlyphElement object that contains the same settings as the source DotGlyphElement.

Parameters:

in_that – The source DotGlyphElement to copy.

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.

Parameters:

in_that – The source GlyphElement to copy.

explicit DotGlyphElement(GlyphPoint const &in_point)

This constructor creates a DotGlyphElement with the specified point.

Parameters:

in_point – The point for the dot.

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.

DotGlyphElement &operator=(DotGlyphElement &&in_that)

The move assignment operator transfers the underlying impl of the rvalue reference to this DotGlyphElement thereby avoiding a copy.

Parameters:

in_that – An rvalue reference to a DotGlyphElement to take the impl from.

Returns:

A reference to this DotGlyphElement.

void SetPoint(GlyphPoint const &in_point)

Sets the point for this DotGlyphElement.

Parameters:

in_point – The point for the dot.

bool ShowPoint(GlyphPoint &out_point) const

Shows the point for this DotGlyphElement.

Parameters:

out_point – The point for the dot.

Returns:

true if a point was set, false otherwise.

~DotGlyphElement()

Public Static Attributes

static const HPS::Type staticType = HPS::Type::DotGlyphElement