text-extents: Text extents

Description Usage Arguments Value Author(s)

Description

Get text extents and font metrics

Usage

1
2
3
4

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

Author(s)

Michael Lawrence


qtpaint documentation built on May 30, 2017, 8:14 a.m.