d2dgame ~master (2017-12-15T21:45:17Z)
Dub
Repo
TTFFont.measureText
d2d
font
ttffont
TTFFont
Returns the dimensions of a string with this font.
class
TTFFont
override
vec2
measureText
(
string
text
,
float
scale
= 1.0f
)
Meta
Source
See Implementation
d2d
font
ttffont
TTFFont
functions
dispose
load
measureText
measureTextMultiline
render
renderMultiline
properties
handle
lineHeight
valid
Returns the dimensions of a string with this font.