File: gdkTextMeasure.Rd

package info (click to toggle)
rgtk2 2.20.36-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 33,540 kB
  • sloc: ansic: 137,163; makefile: 2; sh: 1
file content (20 lines) | stat: -rw-r--r-- 771 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
\alias{gdkTextMeasure}
\name{gdkTextMeasure}
\title{gdkTextMeasure}
\description{
Determines the distance from the origin to the rightmost
portion of a string when drawn. This is not the
correct value for determining the origin of the next
portion when drawing text in multiple pieces. 
See \code{\link{gdkTextWidth}}.
\strong{WARNING: \code{gdk_text_measure} is deprecated and should not be used in newly-written code.}
}
\usage{gdkTextMeasure(object, text, text.length = -1)}
\arguments{
\item{\verb{object}}{a \code{\link{GdkFont}}}
\item{\verb{text}}{the text to measure.}
\item{\verb{text.length}}{the length of the text in bytes.}
}
\value{[integer] the right bearing of the string in pixels.}
\author{Derived by RGtkGen from GTK+ documentation}
\keyword{internal}