Font.getCharSize

Returns the size of a character, optionally taking kerning into account if the next character is provided. Note that the height returned is the font height (see getHeight) and has no relation to the glyph height.

struct Font
@nogc nothrow const
Vector2
getCharSize
(
in long _char
,
in long next = 0
)

Meta