CopperSpice API  1.7.2
QAbstractTextDocumentLayout::PaintContext Class Reference

A convenience class defining the parameters used when painting a document's layout. More...

Detailed Description

The QAbstractTextDocumentLayout::PaintContext class is a convenience class defining the parameters used when painting a document's layout.

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

See also
QAbstractTextDocumentLayout