EllipseGlyphElement

class HPS.EllipseGlyphElement : public HPS.GlyphElement

The EllipseGlyphElement class is a user space object. It is used to add ellipse elements to glyphs.

Public Functions

override void Dispose ()
EllipseGlyphElement ()

The default constructor creates an empty EllipseGlyphElement object.

EllipseGlyphElement (HPS.EllipseGlyphElement in_that)

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

Param in_that

The source EllipseGlyphElement to copy.

EllipseGlyphElement (HPS.GlyphElement in_that)

This constructor creates a EllipseGlyphElement 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 an ellipse glyph element. Otherwise the copy will fail and the resulting EllipseGlyphElement will be invalid.

Param in_that

The source GlyphElement to copy.

EllipseGlyphElement (HPS.GlyphPoint in_lower_left, HPS.GlyphPoint in_upper_right)

This constructor creates a EllipseGlyphElement with the lower left and upper right points for the bounding box which circumscribes the ellipse.

Param in_lower_left

The lower left point for the bounding box which circumscribes the ellipse.

Param in_upper_right

The upper right point for the bounding box which circumscribes the ellipse.

override HPS.Type ObjectType ()

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).

Return

The declared type of the object in question, which may differ from the true, underlying type.

void SetLowerLeft (HPS.GlyphPoint in_point)

Sets the lower left point for the bounding box which circumscribes the ellipse for this EllipseGlyphElement.

Param in_point

The lower left point for the bounding box which circumscribes the ellipse.

void SetPoints (HPS.GlyphPoint in_lower_left, HPS.GlyphPoint in_upper_right)

Sets the lower left and upper right points for the bounding box which circumscribes the ellipse for this EllipseGlyphElement.

Param in_lower_left

The lower left point for the bounding box which circumscribes the ellipse.

Param in_upper_right

The upper right point for the bounding box which circumscribes the ellipse.

void SetUpperRight (HPS.GlyphPoint in_point)

Sets the upper right point for the bounding box which circumscribes the ellipse for this EllipseGlyphElement.

Param in_point

The upper right point for the bounding box which circumscribes the ellipse.

bool ShowLowerLeft (out HPS.GlyphPoint out_point)

Shows the lower left point for the bounding box which circumscribes the ellipse for this EllipseGlyphElement.

Param out_point

The lower left point for the bounding box which circumscribes the ellipse.

Return

true if a lower left point was set, false otherwise.

bool ShowUpperRight (out HPS.GlyphPoint out_point)

Shows the upper right point for the bounding box which circumscribes the ellipse for this EllipseGlyphElement.

Param out_point

The upper right point for the bounding box which circumscribes the ellipse.

Return

true if an upper right point was set, false otherwise.