Learn R Programming

RGtk2 (version 2.8.8)

gdkCharWidth: gdkCharWidth

Description

Determines the width of a given character. WARNING: gdk_char_width is deprecated and should not be used in newly-written code. Use gdkTextExtents instead.

Usage

gdkCharWidth(object, character)

Arguments

object
character
[character] the character to measure.

Value

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