gdkTextExtentsWc {RGtk2}R Documentation

gdkTextExtentsWc

Description

Gets the metrics of a string of wide characters. WARNING: gdk_text_extents_wc is deprecated and should not be used in newly-written code.

Usage

gdkTextExtentsWc(object, text)

Arguments

object [GdkFont] a GdkFont
text [numeric] the text to measure.

Value

A list containing the following elements:

lbearing [integer] the left bearing of the string.
rbearing [integer] the right bearing of the string.
width [integer] the width of the string.
ascent [integer] the ascent of the string.
descent [integer] the descent of the string.

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.12.5-3 Index]