Glyph

character glyph

Members

Variables

blackBoxX
ubyte blackBoxX;

< 4: width of glyph black box

blackBoxY
ubyte blackBoxY;

< 5: height of glyph black box

glyph
ubyte[] glyph;

< 12: glyph data, arbitrary size

glyphIndex
ushort glyphIndex;

< 8: bytes in glyph array

id
uint id;

< 0: unique id of glyph (for drawing in hardware accelerated scenes)

lastUsage
ubyte lastUsage;

< 11: usage flag, to handle cleanup of unused glyphs

originX
byte originX;

< 6: X origin for glyph

originY
byte originY;

< 7: Y origin for glyph

width
ubyte width;

< 10: full width of glyph

Meta