gdkTextExtents: gdkTextExtents

Description Usage Arguments Value Author(s)

Description

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

Usage

1
gdkTextExtents(object, string)

Arguments

object

a GdkFont

Value

A list containing the following elements:

lbearing

the left bearing of the string.

rbearing

the right bearing of the string.

width

the width of the string.

ascent

the ascent of the string.

descent

the descent of the string.

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on May 20, 2017, 3:33 a.m.

Search within the RGtk2 package
Search all R packages, documentation and source code