Determine the width of a given string.
font : a GdkFont
text : the text to measure.
text_length : the length of the text in bytes.
Returns : the width of the string in pixels.
|
Determine the width of a given wide-character string.
font : a GdkFont
text : the text to measure.
text_length : the length of the text in characters.
Returns : the width of the string in pixels.
|
Determine the width of a given character.
font : a GdkFont
character : the character to measure.
Returns : the width of the character in pixels.
|
Determine the width of a given wide character. (Encoded in the wide-character encoding of the current locale).
font : a GdkFont
character : the character to measure.
Returns : the width of the character in pixels.
|
Determines the distance from the origin to the rightmost portion of a NULL-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().
font : a GdkFont
string : the NULL-terminated string to measure.
Returns : the right bearing of the string in pixels.
|
Determines the distance from the origin to the rightmost portion of a 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_text_width().
font : a GdkFont
text : the text to measure.
text_length : the length of the text in bytes.
Returns : the right bearing of the string in pixels.
|
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.
font : a GdkFont
character : the character to measure.
Returns : the right bearing of the character in pixels.
|
Determines the total height of a given NULL-terminated string. This value is not generally useful, because you cannot determine how this total height will be drawn in relation to the baseline. See gdk_string_extents().
font : a GdkFont
string : the NULL-terminated string to measure.
Returns : the height of the string in pixels.
|
Determines the total height of a given string. This value is not generally useful, because you cannot determine how this total height will be drawn in relation to the baseline. See gdk_text_extents().
font : a GdkFont
text : the text to measure.
text_length : the length of the text in bytes.
Returns : the height of the string in pixels.
|
Determines the total height of a given character. This value is not generally useful, because you cannot determine how this total height will be drawn in relation to the baseline. See gdk_text_extents().