Learn R Programming

RGtk2 (version 2.8.8)

gdkStringWidth: gdkStringWidth

Description

Determines the width of a string. (The distance from the origin of the string to the point where the next string in a sequence of strings should be drawn) WARNING: gdk_string_width is deprecated and should not be used in newly-written code.

Usage

gdkStringWidth(object, string)

Arguments

object
string
[character] the string to measure

Value

  • [integer] the width of the string in pixels.