Utility code allowing the simpler manipulation of glyph glusters represented by the UnicodeString and Indices entries of an IDOMGlyphs object. More...
#include <iglyphsclusters.h>
Public Member Functions | |
bool | similar (const CIndicesGlyph &other, float eps) const |
Check to see if this indices glyph entry is similar to another with regard to metrics. Non-metrics information (such as glyph ids) must be equivalent for two indices glyphs to be considered similar. More... | |
Public Attributes | |
bool | hasGlyphId |
True if the glyphId entry is valid. | |
uint16 | glyphId |
The glyph ID of the glyph, if hasGlyphId is true. | |
bool | hasAdvance |
True if the advance entry is valid. | |
float | advance |
The advance, in hundredths of an em, if hasAdvance is true. | |
bool | hasUOffset |
True if the uOffset entry is valid. | |
float | uOffset |
The u offset of the glyph, in hundredths of an em, if hasUOffset is true. | |
bool | hasVOffset |
True if the vOffset entry is valid. | |
float | vOffset |
The v offset of the glyph, in hundredths of an em, if hasVOffset is true. | |
Utility code allowing the simpler manipulation of glyph glusters represented by the UnicodeString and Indices entries of an IDOMGlyphs object.
A glyph unit, populated from an entry in an Indices string. All entries are optional, and their presence is flagged with hasXxxxx entries.
|
inline |
Check to see if this indices glyph entry is similar to another with regard to metrics. Non-metrics information (such as glyph ids) must be equivalent for two indices glyphs to be considered similar.
other | The indices glyph to compare. |
eps | The epsilon limit for metrics similarity, in hundredths of an em. |