|  | Home · Overviews · Examples

# QAbstractTextDocumentLayout_PaintContext Class Reference
[com.trolltech.qt.gui module]

The QAbstractTextDocumentLayout::PaintContext class is a convenience class defining the parameters of a painter context. More...

## Detailed Description

The QAbstractTextDocumentLayout::PaintContext class is a convenience class defining the parameters of a painter context.

A painter context is used when rendering custom layouts for QTextDocuments with the QAbstractTextDocumentLayout::draw() function, and is specified by a cursor position, a default text color, a clip rectangle and a collection of selections.

See also `QAbstractTextDocumentLayout`.