Description Usage Arguments Value Author(s)
Get text extents and font metrics
1 2 3 4 | qtextExtents(p, text)
qstrWidth(p, text)
qstrHeight(p, text)
qfontMetrics(p)
|
p |
The paint context |
text |
The text to analyze |
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
Michael Lawrence
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.