- checkpoint
void checkpoint()
Undocumented in source. Be warned that the author may not have intended to support it.
- cleanup
void cleanup()
Undocumented in source. Be warned that the author may not have intended to support it.
- clear
void clear()
- create
bool create()
Undocumented in source. Be warned that the author may not have intended to support it.
- drawText
void drawText(DrawBuf buf, int x, int y, dchar[] text, uint color)
Undocumented in source. Be warned that the author may not have intended to support it.
- findGlyph
bool findGlyph(dchar code, dchar def_char, FT_UInt index, FreeTypeFontFile file)
find glyph index for character
- getCharGlyph
Glyph* getCharGlyph(dchar ch, bool withImage)
Undocumented in source. Be warned that the author may not have intended to support it.
- getGlyphIndex
uint getGlyphIndex(dchar code)
Undocumented in source. Be warned that the author may not have intended to support it.
- measureText
int measureText(dchar[] text, int[] widths, int maxWidth)
Undocumented in source. Be warned that the author may not have intended to support it.
- baseline
int baseline [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- face
string face [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- family
FontFamily family [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- height
int height [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- isNull
bool isNull [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- italic
bool italic [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- size
int size [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- weight
int weight [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- size
int size [@property getter]
Undocumented in source.
- height
int height [@property getter]
Undocumented in source.
- weight
int weight [@property getter]
Undocumented in source.
- baseline
int baseline [@property getter]
Undocumented in source.
- italic
bool italic [@property getter]
Undocumented in source.
- face
string face [@property getter]
Undocumented in source.
- family
FontFamily family [@property getter]
Undocumented in source.
- isNull
bool isNull [@property getter]
Undocumented in source.
- measureText
int measureText(dchar[] text, int[] widths, int maxWidth)
Undocumented in source.
- textSize
Point textSize(dchar[] text, int maxWidth)
Undocumented in source. Be warned that the author may not have intended to support it.
- drawText
void drawText(DrawBuf buf, int x, int y, dchar[] text, uint color)
draw text string to buffer
- getCharGlyph
Glyph* getCharGlyph(dchar ch, bool withImage)
get character glyph information
- checkpoint
void checkpoint()
clear usage flags for all entries
- cleanup
void cleanup()
removes entries not used after last call of checkpoint() or cleanup()
- clear
void clear()
Undocumented in source. Be warned that the author may not have intended to support it.
- ~this
~this()
Undocumented in source.
Font implementation based on Win32 API system fonts.