dplug v4.2.2 (2017-05-30T16:49:02Z)
Home
Dub
Repo
Font
dplug
graphics
font
Undocumented in source.
final
class
Font {
this
(ubyte[] fontData);
~this
();
box2i
measureText
(StringType s, float fontSizePx, float letterSpacingPx);
}
Constructors
this
this
(ubyte[] fontData)
Loads a TTF file. fontData should be the content of that file.
Destructor
~this
~this
()
Undocumented in source.
Members
Functions
measureText
box2i
measureText
(StringType s, float fontSizePx, float letterSpacingPx)
Meta
Source
See Implementation
dplug
graphics
font
classes
Font
functions
fillText