Utility code allowing the simpler manipulation of glyph glusters represented by the UnicodeString and Indices entries of an IDOMGlyphs object.
More...
#include <edl/iglyphsclusters.h>
|
| 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.
◆ CIndicesGlyph()
| CIndicesGlyph::CIndicesGlyph |
( |
| ) |
|
|
inline |
◆ operator!=()
| bool CIndicesGlyph::operator!= |
( |
const CIndicesGlyph & | other | ) |
const |
|
inline |
◆ operator==()
| bool CIndicesGlyph::operator== |
( |
const CIndicesGlyph & | other | ) |
const |
|
inline |
◆ similar()
| bool CIndicesGlyph::similar |
( |
const CIndicesGlyph & | other, |
|
|
float | eps ) const |
|
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.
- Parameters
-
| other | The indices glyph to compare. |
| eps | The epsilon limit for metrics similarity, in hundredths of an em. |
- Returns
- bool True if similar, false otherwise.
◆ advance
| float CIndicesGlyph::advance |
The advance, in hundredths of an em, if hasAdvance is true.
◆ glyphId
The glyph ID of the glyph, if hasGlyphId is true.
◆ hasAdvance
| bool CIndicesGlyph::hasAdvance |
True if the advance entry is valid.
◆ hasGlyphId
| bool CIndicesGlyph::hasGlyphId |
True if the glyphId entry is valid.
◆ hasUOffset
| bool CIndicesGlyph::hasUOffset |
True if the uOffset entry is valid.
◆ hasVOffset
| bool CIndicesGlyph::hasVOffset |
True if the vOffset entry is valid.
◆ uOffset
| float CIndicesGlyph::uOffset |
The u offset of the glyph, in hundredths of an em, if hasUOffset is true.
◆ vOffset
| float CIndicesGlyph::vOffset |
The v offset of the glyph, in hundredths of an em, if hasVOffset is true.
The documentation for this class was generated from the following file: