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 .
| Parameters: | PaintContext – PySide.QtGui.QAbstractTextDocumentLayout::PaintContext |
|---|