gdkStringMeasure {RGtk2}R Documentation

gdkStringMeasure

Description

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 gdkStringWidth. WARNING: gdk_string_measure is deprecated and should not be used in newly-written code.

Usage

gdkStringMeasure(object, string)

Arguments

object [GdkFont] a GdkFont
string [character] the string to measure.

Value

[integer] the right bearing of the string in pixels.

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.12.5-3 Index]