The OpenD Programming Language

textExtents

Measures the specified text string. Returns horizontal and vertical sizes of the measured text. Measured values are returned in local coordinate space.

nothrow @trusted @nogc
void
textExtents
(
T
)
(,
const(T)[] str
,
float* w
,
float* h
)
if (
isAnyCharType!T
)

See Also

Meta