dgt v0.3.2 (2017-09-19T17:07:41Z)
Dub
Repo
Font.getSizeOfString
dgt
font
Font
Find how much space a string would take when rendered
struct
Font
@
nogc
nothrow pure const
Rectangle
getSizeOfString
(
in
string
str
,
float
lineHeight
= 1
)
Meta
Source
See Implementation
dgt
font
Font
constructors
this
destructors
~this
functions
getSizeOfString
render
postblits
this(this)
properties
characterHeight
static variables
FONT_CHAR_OFFSET
FONT_MAX_CHARS
Find how much space a string would take when rendered