Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
BorderPaginator Struct Reference
+ Collaboration diagram for BorderPaginator:

Public Member Functions

 BorderPaginator (QTextDocument *document, const QRectF &rect, qreal topMarginAfterPageBreak, qreal bottomMargin, qreal border)
 
QRectF clipRect (int page) const
 

Public Attributes

qreal pageHeight
 
int topPage
 
int bottomPage
 
QRectF rect
 
qreal topMarginAfterPageBreak
 
qreal bottomMargin
 
qreal border
 

Detailed Description

Definition at line 861 of file qtextdocumentlayout.cpp.

Constructor & Destructor Documentation

◆ BorderPaginator()

BorderPaginator::BorderPaginator ( QTextDocument * document,
const QRectF & rect,
qreal topMarginAfterPageBreak,
qreal bottomMargin,
qreal border )
inline

Definition at line 863 of file qtextdocumentlayout.cpp.

Member Function Documentation

◆ clipRect()

QRectF BorderPaginator::clipRect ( int page) const
inline

Definition at line 872 of file qtextdocumentlayout.cpp.

References bottomMargin, bottomPage, page, pageHeight, qMax(), qMin(), rect, topMarginAfterPageBreak, topPage, and QRectF::toRect().

+ Here is the call graph for this function:

Member Data Documentation

◆ border

qreal BorderPaginator::border

Definition at line 893 of file qtextdocumentlayout.cpp.

◆ bottomMargin

qreal BorderPaginator::bottomMargin

Definition at line 892 of file qtextdocumentlayout.cpp.

Referenced by clipRect().

◆ bottomPage

int BorderPaginator::bottomPage

◆ pageHeight

qreal BorderPaginator::pageHeight

Definition at line 887 of file qtextdocumentlayout.cpp.

Referenced by clipRect().

◆ rect

QRectF BorderPaginator::rect

Definition at line 890 of file qtextdocumentlayout.cpp.

Referenced by clipRect().

◆ topMarginAfterPageBreak

qreal BorderPaginator::topMarginAfterPageBreak

Definition at line 891 of file qtextdocumentlayout.cpp.

Referenced by clipRect().

◆ topPage

int BorderPaginator::topPage

The documentation for this struct was generated from the following file: