Font.stringExtents

Warning gdk_string_extents is deprecated and should not be used in newly-written code. Gets the metrics of a nul-terminated string.

class Font
void
stringExtents
(
string string
,
out int lbearing
,
out int rbearing
,
out int width
,
out int ascent
,
out int descent
)

Parameters

string string

the nul-terminated string to measure.

lbearing int

the left bearing of the string.

rbearing int

the right bearing of the string.

width int

the width of the string.

ascent int

the ascent of the string.

descent int

the descent of the string.

Meta