d2dgame v3.0.0-beta.3 (2021-12-03T16:28:11Z)
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.