QGIS API Documentation 3.41.0-Master (45a0abf3bec)
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
BlockMetrics Struct Reference

Public Member Functions

void resetCalculatedStats ()
 

Public Attributes

double blockHeightUsingAscentAccountingForVerticalOffset = 0
 
double blockHeightUsingAscentDescent = 0
 
double blockHeightUsingLineSpacing = 0
 
double blockHeightVerticalOrientation = 0
 
double blockWidth = 0
 
double blockXMax = 0
 
double blockYMaxAdjustLabel = 0
 
QList< double > fragmentFixedHeights
 
QList< QFont > fragmentFonts
 
QList< double > fragmentHorizontalAdvance
 
QList< double > fragmentVerticalOffsets
 
bool isFirstBlock = false
 
bool isFirstNonTabFragment = true
 
bool isLastBlock = false
 
double lineHeightPainterUnits = 0
 
double lineHeightPercentage = 0
 
double marginBottom = 0
 
double marginLeft = 0
 
double marginRight = 0
 
double marginTop = 0
 
double maxBlockAscent = 0
 
double maxBlockAscentForTextFragments = 0
 
double maxBlockCapHeight = 0
 
double maxBlockDescent = 0
 
double maxBlockFixedItemHeight = 0
 
double maxBlockLeading = 0
 
double maxBlockMaxWidth = 0
 
double maxLineSpacing = 0
 
QFont previousNonSuperSubScriptFont
 

Detailed Description

Definition at line 70 of file qgstextdocumentmetrics.cpp.

Member Function Documentation

◆ resetCalculatedStats()

void BlockMetrics::resetCalculatedStats ( )
inline

Definition at line 107 of file qgstextdocumentmetrics.cpp.

Member Data Documentation

◆ blockHeightUsingAscentAccountingForVerticalOffset

double BlockMetrics::blockHeightUsingAscentAccountingForVerticalOffset = 0

Definition at line 78 of file qgstextdocumentmetrics.cpp.

◆ blockHeightUsingAscentDescent

double BlockMetrics::blockHeightUsingAscentDescent = 0

Definition at line 80 of file qgstextdocumentmetrics.cpp.

◆ blockHeightUsingLineSpacing

double BlockMetrics::blockHeightUsingLineSpacing = 0

Definition at line 81 of file qgstextdocumentmetrics.cpp.

◆ blockHeightVerticalOrientation

double BlockMetrics::blockHeightVerticalOrientation = 0

Definition at line 79 of file qgstextdocumentmetrics.cpp.

◆ blockWidth

double BlockMetrics::blockWidth = 0

Definition at line 75 of file qgstextdocumentmetrics.cpp.

◆ blockXMax

double BlockMetrics::blockXMax = 0

Definition at line 76 of file qgstextdocumentmetrics.cpp.

◆ blockYMaxAdjustLabel

double BlockMetrics::blockYMaxAdjustLabel = 0

Definition at line 77 of file qgstextdocumentmetrics.cpp.

◆ fragmentFixedHeights

QList< double > BlockMetrics::fragmentFixedHeights

Definition at line 92 of file qgstextdocumentmetrics.cpp.

◆ fragmentFonts

QList< QFont > BlockMetrics::fragmentFonts

Definition at line 90 of file qgstextdocumentmetrics.cpp.

◆ fragmentHorizontalAdvance

QList< double > BlockMetrics::fragmentHorizontalAdvance

Definition at line 93 of file qgstextdocumentmetrics.cpp.

◆ fragmentVerticalOffsets

QList< double > BlockMetrics::fragmentVerticalOffsets

Definition at line 91 of file qgstextdocumentmetrics.cpp.

◆ isFirstBlock

bool BlockMetrics::isFirstBlock = false

Definition at line 72 of file qgstextdocumentmetrics.cpp.

◆ isFirstNonTabFragment

bool BlockMetrics::isFirstNonTabFragment = true

Definition at line 96 of file qgstextdocumentmetrics.cpp.

◆ isLastBlock

bool BlockMetrics::isLastBlock = false

Definition at line 73 of file qgstextdocumentmetrics.cpp.

◆ lineHeightPainterUnits

double BlockMetrics::lineHeightPainterUnits = 0

Definition at line 99 of file qgstextdocumentmetrics.cpp.

◆ lineHeightPercentage

double BlockMetrics::lineHeightPercentage = 0

Definition at line 100 of file qgstextdocumentmetrics.cpp.

◆ marginBottom

double BlockMetrics::marginBottom = 0

Definition at line 103 of file qgstextdocumentmetrics.cpp.

◆ marginLeft

double BlockMetrics::marginLeft = 0

Definition at line 104 of file qgstextdocumentmetrics.cpp.

◆ marginRight

double BlockMetrics::marginRight = 0

Definition at line 105 of file qgstextdocumentmetrics.cpp.

◆ marginTop

double BlockMetrics::marginTop = 0

Definition at line 102 of file qgstextdocumentmetrics.cpp.

◆ maxBlockAscent

double BlockMetrics::maxBlockAscent = 0

Definition at line 85 of file qgstextdocumentmetrics.cpp.

◆ maxBlockAscentForTextFragments

double BlockMetrics::maxBlockAscentForTextFragments = 0

Definition at line 83 of file qgstextdocumentmetrics.cpp.

◆ maxBlockCapHeight

double BlockMetrics::maxBlockCapHeight = 0

Definition at line 84 of file qgstextdocumentmetrics.cpp.

◆ maxBlockDescent

double BlockMetrics::maxBlockDescent = 0

Definition at line 86 of file qgstextdocumentmetrics.cpp.

◆ maxBlockFixedItemHeight

double BlockMetrics::maxBlockFixedItemHeight = 0

Definition at line 82 of file qgstextdocumentmetrics.cpp.

◆ maxBlockLeading

double BlockMetrics::maxBlockLeading = 0

Definition at line 88 of file qgstextdocumentmetrics.cpp.

◆ maxBlockMaxWidth

double BlockMetrics::maxBlockMaxWidth = 0

Definition at line 87 of file qgstextdocumentmetrics.cpp.

◆ maxLineSpacing

double BlockMetrics::maxLineSpacing = 0

Definition at line 74 of file qgstextdocumentmetrics.cpp.

◆ previousNonSuperSubScriptFont

QFont BlockMetrics::previousNonSuperSubScriptFont

Definition at line 95 of file qgstextdocumentmetrics.cpp.


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