Fontset.getTextLength

Returns the width of the text in pixels.

class Fontset(T)
@nogc @safe nothrow pure
int
getTextLength
(
dstring text
)
if (
T.stringof == Bitmap8Bit.stringof ||
T.stringof == Bitmap16Bit.stringof
||
T.stringof == Bitmap32Bit.stringof
)

Meta