Font.charMeasure

Warning gdk_char_measure is deprecated and should not be used in newly-written code. Determines the distance from the origin to the rightmost portion of a character when drawn. This is not the correct value for determining the origin of the next portion when drawing text in multiple pieces.

class Font
int
charMeasure
()

Parameters

character char

the character to measure.

Return Value

Type: int

the right bearing of the character in pixels.

Meta