text-extents

0th

Percentile

Text extents

Get text extents and font metrics

Usage
qtextExtents(p, text)
qstrWidth(p, text)
qstrHeight(p, text)
qfontMetrics(p)
Arguments
p
The paint context
text
The text to analyze
Value

  • qtextExtents: A matrix representing the text bounds for qtextExtents), a number for qstrWidth and qstrHeight, or a vector with the ascent and descent for qfontMetrics

Aliases
  • qtextExtents
  • qstrWidth
  • qstrHeight
  • qfontMetrics
Documentation reproduced from package qtpaint, version 1.1.0, License: GPL version 2 or later

Community examples

Looks like there are no examples yet.