Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gdkStringExtents

gdkStringExtents


Description

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

Usage

gdkStringExtents(object, string)

Arguments

object

a GdkFont.

string

the string to measure.

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

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.