Font.getSizeOfString

Find how much space a string would take when rendered

struct Font
@nogc nothrow pure
getSizeOfString
const
(
in string str
,
float lineHeight = 1
)

Meta