![]() |
Gorgon Game Engine
|
This class represents a range of glyphs. Both start and end is included. More...
Public Member Functions | |
GlyphRange (Glyph start, Glyph end) | |
GlyphRange (Glyph value=0xFFFF) | |
Creates a range that includes a single item. More... | |
int | Count () const |
Returns the number of the glyphs in the range. More... | |
void | Normalize () |
Public Attributes | |
Glyph | End |
End point of the range. This value is included in the range. More... | |
Glyph | Start |
Start point of the range. More... | |
This class represents a range of glyphs. Both start and end is included.
GlyphRange | ( | Glyph | value = 0xFFFF | ) |
Creates a range that includes a single item.
Value 0 is not a valid code point
GlyphRange | ( | Glyph | start, |
Glyph | end | ||
) |
int Count | ( | ) | const |
Returns the number of the glyphs in the range.
References GlyphRange::End, and GlyphRange::Start.
void Normalize | ( | ) |
References GlyphRange::End, GlyphRange::Start, and Gorgon::swap().
Glyph End |
End point of the range. This value is included in the range.
Glyph Start |
Start point of the range.