GlyphDefinition

class HPS.GlyphDefinition : public HPS.Definition

The GlyphDefinition class is a smart pointer to a database object. It is a handler to a glyph defined within a portfolio.

Public Functions

override void Dispose ()
GlyphDefinition ()

The default constructor creates an uninitialized GlyphDefinition object. The Type() function will return Type.None.

GlyphDefinition (HPS.Definition in_that)

This constructor creates an GlyphDefinition object that shares the underlying smart-pointer of the source Definition. The copy will only be successful if the source definition is really an upcast of a glyph definition. Otherwise the copy will fail and the resulting GlyphDefinition will be invalid.

Param in_that

The source Definition to copy.

GlyphDefinition (HPS.GlyphDefinition in_that)

The copy constructor creates an GlyphDefinition object that shares the underlying smart-pointer of the source GlyphDefinition.

Param in_that

The source GlyphDefinition to copy.

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 Set (HPS.GlyphKit in_kit)

Redefine the glyph for this GlyphDefinition.

Param in_kit

The new glyph for this GlyphDefinition.

void Show (out HPS.GlyphKit out_kit)

Shows the glyph for this GlyphDefinition.

Param out_kit

The glyph for this GlyphDefinition.