Struct Glyph
Character glyph
.
Holder for glyph
metrics as well as image.
Fields
Name | Type | Description |
---|---|---|
blackBoxX
|
ubyte |
< 4: width of glyph black box
|
blackBoxY
|
ubyte |
< 5: height of glyph black box
|
glyph
|
ubyte[] |
< 12: glyph data, arbitrary size
|
lastUsage
|
ubyte |
< 9: usage flag, to handle cleanup of unused glyphs |
originX
|
byte |
< 6: X origin for glyph
|
originY
|
byte |
< 7: Y origin for glyph
|
width
|
ubyte |
< 8: full width of glyph
|
Authors
Vadim Lopatin, coolreader.org@gmail.com
Copyright
Vadim Lopatin, 2014
License
Boost License 1.0