Font.stringMeasure

Warning gdk_string_measure is deprecated and should not be used in newly-written code. Determines the distance from the origin to the rightmost portion of a nul-terminated string when drawn. This is not the correct value for determining the origin of the next portion when drawing text in multiple pieces. See gdk_string_width().

class Font
int
stringMeasure
(
string string
)

Parameters

string string

the nul-terminated string to measure.

Return Value

Type: int

the right bearing of the string in pixels.

Meta