d2dgame ~master (2021-12-25T08:32:28.3559629)
Dub
Repo
IFont.measureText
d2d
font
ifont
IFont
Returns the dimensions of a string with this font.
interface
IFont
vec2
measureText
(
string
text
,
float
scale
= 1.0f
)
Meta
Source
See Implementation
d2d
font
ifont
IFont
functions
load
measureText
measureTextMultiline
render
renderMultiline
Returns the dimensions of a string with this font.