RTextRenderer
Class in Entity Module
Header: #include <src/core/RTextRenderer.h>
Description
Section titled “Description”Renders formatted text into painter paths.
Scriptable: This class is available in script environments.
Public Types
Section titled “Public Types”| enum | Target { PainterPaths, RichText } |
Public Functions
Section titled “Public Functions”RTextRenderer(const RTextBasedData &textData, bool draft, RTextRenderer::Target target, double fontHeightFactor=1.0) |
|
| RBox | getBoundingBox() const |
| double | getHeight() const |
| QList< RPainterPath > | getPainterPaths() const |
| QString | getRichText() const |
| QList< RTextLayout > | getTextLayouts() const |
| double | getWidth() const |
| void | render()Renders the text data into painter paths. |
| void | renderSimple()Renders the text data into painter paths. |
Static Public Functions
Section titled “Static Public Functions”| static void | lockForDrawing() |
| static void | unlockForDrawing() |
Static Public Attributes
Section titled “Static Public Attributes”Private Functions
Section titled “Private Functions”| bool | getBlockBold() const |
| QString | getBlockFont() const |
| QString | getBlockFontFile() const |
| double | getBlockHeight() const |
| bool | getBlockItalic() const |
| bool | getBlockUnderline() const |
| QRectF | getCharacterRect(const QFont &font, const QChar &ch) constThis is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. |
| QRectF | getCharacterRect(const QString &fontName, const QChar &ch) const |
| QTextCharFormat | getCurrentFormat() const |
| QList< RPainterPath > | getPainterPathsForBlock(const QString &blockText, const QList< QTextLayout::FormatRange > &formats, double &horizontalAdvance, double &horizontalAdvanceNoSpacing, double &horizontalAdvanceNoTrailingSpace, double &ascent, double &descent, double &usedHeight) |
| QList< RPainterPath > | getPainterPathsForBlockCad(const QString &blockText, const QList< QTextLayout::FormatRange > &formats, double &horizontalAdvance, double &horizontalAdvanceNoSpacing, double &horizontalAdvanceNoTrailingSpace, double &ascent, double &descent, double &usedHeight) |
| QList< RPainterPath > | getPainterPathsForBlockTtf(const QString &blockText, const QList< QTextLayout::FormatRange > &formats, double &horizontalAdvance, double &horizontalAdvanceNoSpacing, double &horizontalAdvanceNoTrailingSpace, double &ascent, double &descent, double &usedHeight) |
| QString | getRichTextForBlock(const QString &blockText, const QList< QTextLayout::FormatRange > &formats) |
| bool | getUseCadFont() const |
| void | preparePath(RPainterPath &path, const RColor &color, double cursor, double cxfScale) |
| void | preparePathColor(RPainterPath &path, const RColor &color) |
| void | preparePathTransform(RPainterPath &path, double cursor, double cxfScale) |
| void | setBlockBold(bool on) |
| void | setBlockFont(const QString &f) |
| void | setBlockFontFile(const QString &f) |
| void | setBlockHeight(double h) |
| void | setBlockItalic(bool on) |
| void | setBlockUnderline(bool on) |
| void | setCurrentFormat(QTextCharFormat f) |
| void | setUseCadFont(bool on) |
Private Attributes
Section titled “Private Attributes”| QStack< bool > | blockBold |
| QStack< QString > | blockFont |
| QStack< QString > | blockFontFile |
| QStack< double > | blockHeight |
| QStack< bool > | blockItalic |
| QStack< bool > | blockUnderline |
| RBox | boundingBox |
| QStack< QTextCharFormat > | currentFormat |
| bool | draft |
| double | fontHeightFactor |
| double | height |
| QList< QTransform > | lineBlockTransforms |
| QStack< QStringList > | openTags |
| QList< RPainterPath > | painterPaths |
| QString | richText |
| Target | target |
| const RTextBasedData & | textData |
| QList< RTextLayout > | textLayouts |
| QStack< bool > | useCadFont |
| double | width |
Static Private Attributes
Section titled “Static Private Attributes”| static QMutex | m |
Member Documentation
Section titled “Member Documentation”Target
Section titled “Target”enum Target| Value | Description |
|---|---|
PainterPaths = 0x01 |
|
RichText = 0x02 |
RTextRenderer
Section titled “RTextRenderer”RTextRenderer::RTextRenderer(const RTextBasedData &textData, bool draft, RTextRenderer::Target target, double fontHeightFactor=1.0)getBoundingBox
Section titled “getBoundingBox”RBox RTextRenderer::getBoundingBox() constinline const
getHeight
Section titled “getHeight”double RTextRenderer::getHeight() constinline const
getPainterPaths
Section titled “getPainterPaths”QList< RPainterPath > RTextRenderer::getPainterPaths() constinline const
getRichText
Section titled “getRichText”QString RTextRenderer::getRichText() constinline const
getTextLayouts
Section titled “getTextLayouts”QList< RTextLayout > RTextRenderer::getTextLayouts() constinline const
getWidth
Section titled “getWidth”double RTextRenderer::getWidth() constinline const
render
Section titled “render”void RTextRenderer::render()Renders the text data into painter paths.
renderSimple
Section titled “renderSimple”void RTextRenderer::renderSimple()Renders the text data into painter paths.
lockForDrawing
Section titled “lockForDrawing”static void RTextRenderer::lockForDrawing()static inline
unlockForDrawing
Section titled “unlockForDrawing”static void RTextRenderer::unlockForDrawing()static inline
chDegree
Section titled “chDegree”static QChar RTextRenderer::chDegree = QChar(0x00b0)static
All rights reserved.
This file is part of the QCAD project.
QCAD is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
QCAD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with QCAD.
chDiameter
Section titled “chDiameter”static QChar RTextRenderer::chDiameter = QChar(0x00f8)static
chPlusMinus
Section titled “chPlusMinus”static QChar RTextRenderer::chPlusMinus = QChar(0x00b1)static
escDegree
Section titled “escDegree”static QRegularExpression RTextRenderer::escDegreestatic
escDegreeStr
Section titled “escDegreeStr”static QString RTextRenderer::escDegreeStr = "%%d"static
escDiameter
Section titled “escDiameter”static QRegularExpression RTextRenderer::escDiameterstatic
escDiameterStr
Section titled “escDiameterStr”static QString RTextRenderer::escDiameterStr = "%%c"static
escNoOp
Section titled “escNoOp”static QRegularExpression RTextRenderer::escNoOpstatic
escNoOpStr
Section titled “escNoOpStr”static QString RTextRenderer::escNoOpStr = "%%"static
escPlusMinus
Section titled “escPlusMinus”static QRegularExpression RTextRenderer::escPlusMinusstatic
escPlusMinusStr
Section titled “escPlusMinusStr”static QString RTextRenderer::escPlusMinusStr = "%%p"static
escUnderline
Section titled “escUnderline”static QRegularExpression RTextRenderer::escUnderlinestatic
escUnderlineStr
Section titled “escUnderlineStr”static QString RTextRenderer::escUnderlineStr = "%%u"static
rxAlignmentCenter
Section titled “rxAlignmentCenter”static QRegularExpression RTextRenderer::rxAlignmentCenterstatic
rxAlignmentCenterStr
Section titled “rxAlignmentCenterStr”static QString RTextRenderer::rxAlignmentCenterStr = "\\\\pqc;"static
rxAlignmentChange
Section titled “rxAlignmentChange”static QRegularExpression RTextRenderer::rxAlignmentChangestatic
rxAlignmentChangeBlock
Section titled “rxAlignmentChangeBlock”static QRegularExpression RTextRenderer::rxAlignmentChangeBlockstatic
rxAlignmentChangeBlockStr
Section titled “rxAlignmentChangeBlockStr”static QString RTextRenderer::rxAlignmentChangeBlockStr = "\\\\A(\\d+)"static
rxAlignmentChangeStr
Section titled “rxAlignmentChangeStr”static QString RTextRenderer::rxAlignmentChangeStr = "\\\\A(\\d+);"static
rxAlignmentLeft
Section titled “rxAlignmentLeft”static QRegularExpression RTextRenderer::rxAlignmentLeftstatic
rxAlignmentLeftStr
Section titled “rxAlignmentLeftStr”static QString RTextRenderer::rxAlignmentLeftStr = "\\\\pql;"static
rxAlignmentRight
Section titled “rxAlignmentRight”static QRegularExpression RTextRenderer::rxAlignmentRightstatic
rxAlignmentRightStr
Section titled “rxAlignmentRightStr”static QString RTextRenderer::rxAlignmentRightStr = "\\\\pqr;"static
static QRegularExpression RTextRenderer::rxAllstatic
rxAllBreak
Section titled “rxAllBreak”static QRegularExpression RTextRenderer::rxAllBreakstatic
rxAllBreakStr
Section titled “rxAllBreakStr”static QString RTextRenderer::rxAllBreakStr = "(" + rxAllTmp + "|" + RTextRenderer::rxOptionalBreakStr + ")"static
rxAllStr
Section titled “rxAllStr”static QString RTextRenderer::rxAllStr = "(" + rxAllTmp + ")"static
rxBackslash
Section titled “rxBackslash”static QRegularExpression RTextRenderer::rxBackslashstatic
rxBackslashStr
Section titled “rxBackslashStr”static QString RTextRenderer::rxBackslashStr = "\\\\\\\\"static
rxBeginBlock
Section titled “rxBeginBlock”static QRegularExpression RTextRenderer::rxBeginBlockstatic
rxBeginBlockStr
Section titled “rxBeginBlockStr”static QString RTextRenderer::rxBeginBlockStr = "\\{"static
rxColorChangeCustom
Section titled “rxColorChangeCustom”static QRegularExpression RTextRenderer::rxColorChangeCustomstatic
rxColorChangeCustomStr
Section titled “rxColorChangeCustomStr”static QString RTextRenderer::rxColorChangeCustomStr ="\\\\c(\\d+);"static
rxColorChangeIndex
Section titled “rxColorChangeIndex”static QRegularExpression RTextRenderer::rxColorChangeIndexstatic
rxColorChangeIndexStr
Section titled “rxColorChangeIndexStr”static QString RTextRenderer::rxColorChangeIndexStr = "\\\\C(\\d+);"static
rxCurlyClose
Section titled “rxCurlyClose”static QRegularExpression RTextRenderer::rxCurlyClosestatic
rxCurlyCloseStr
Section titled “rxCurlyCloseStr”static QString RTextRenderer::rxCurlyCloseStr = "\\\\\\}"static
rxCurlyOpen
Section titled “rxCurlyOpen”static QRegularExpression RTextRenderer::rxCurlyOpenstatic
rxCurlyOpenStr
Section titled “rxCurlyOpenStr”static QString RTextRenderer::rxCurlyOpenStr = "\\\\\\{"static
rxDegree
Section titled “rxDegree”static QRegularExpression RTextRenderer::rxDegreestatic
rxDegreeStr
Section titled “rxDegreeStr”static QString RTextRenderer::rxDegreeStr = "%%[dD]"static
rxDiameter
Section titled “rxDiameter”static QRegularExpression RTextRenderer::rxDiameterstatic
rxDiameterStr
Section titled “rxDiameterStr”static QString RTextRenderer::rxDiameterStr = "%%[cC]"static
rxEndBlock
Section titled “rxEndBlock”static QRegularExpression RTextRenderer::rxEndBlockstatic
rxEndBlockStr
Section titled “rxEndBlockStr”static QString RTextRenderer::rxEndBlockStr = "\\}"static
rxFontChangeCad
Section titled “rxFontChangeCad”static QRegularExpression RTextRenderer::rxFontChangeCadstatic
rxFontChangeCadStr
Section titled “rxFontChangeCadStr”static QString RTextRenderer::rxFontChangeCadStr = "\\\\F([^|;]*)""[^;]*"";"static
rxFontChangeTtf
Section titled “rxFontChangeTtf”static QRegularExpression RTextRenderer::rxFontChangeTtfstatic
rxFontChangeTtfStr
Section titled “rxFontChangeTtfStr”static QString RTextRenderer::rxFontChangeTtfStr = "\\\\f([^|;]*)""(?:\\|+([bicp])(\\d+))?""(?:\\|+([bicp])(\\d+))?""(?:\\|+([bicp])(\\d+))?""(?:\\|+([bicp])(\\d+))?"
"([^;]*)"";"static
rxHeightChange
Section titled “rxHeightChange”static QRegularExpression RTextRenderer::rxHeightChangestatic
rxHeightChangeStr
Section titled “rxHeightChangeStr”static QString RTextRenderer::rxHeightChangeStr = "\\\\H(\\d*\\.?\\d*)(x?);"static
rxLineFeed
Section titled “rxLineFeed”static QRegularExpression RTextRenderer::rxLineFeedstatic
rxLineFeedStr
Section titled “rxLineFeedStr”static QString RTextRenderer::rxLineFeedStr = "\\\\p(?:x?i(-?\\d*\\.?\\d*)(?:,l-?\\d*\\.?\\d*)(?:,t-?\\d*\\.?\\d*);)?"static
static QRegularExpression RTextRenderer::rxMifstatic
rxMifStr
Section titled “rxMifStr”static QString RTextRenderer::rxMifStr = "\\\\M\\+5([0-9A-F]{4})"static
rxNonBreakingSpace
Section titled “rxNonBreakingSpace”static QRegularExpression RTextRenderer::rxNonBreakingSpacestatic
rxNonBreakingSpaceStr
Section titled “rxNonBreakingSpaceStr”static QString RTextRenderer::rxNonBreakingSpaceStr = "\\\\~"static
rxNoOp
Section titled “rxNoOp”static QRegularExpression RTextRenderer::rxNoOpstatic
rxNoOpEnd
Section titled “rxNoOpEnd”static QRegularExpression RTextRenderer::rxNoOpEndstatic
rxNoOpEndStr
Section titled “rxNoOpEndStr”static QString RTextRenderer::rxNoOpEndStr = "%%$"static
rxNoOpStr
Section titled “rxNoOpStr”static QString RTextRenderer::rxNoOpStr = "%%([^uUcCpPdD])"static
rxObliqueAngleChange
Section titled “rxObliqueAngleChange”static QRegularExpression RTextRenderer::rxObliqueAngleChangestatic
rxObliqueAngleChangeStr
Section titled “rxObliqueAngleChangeStr”static QString RTextRenderer::rxObliqueAngleChangeStr = "\\\\Q(\\d*\\.?\\d*);"static
rxOptionalBreak
Section titled “rxOptionalBreak”static QRegularExpression RTextRenderer::rxOptionalBreakstatic
rxOptionalBreakStr
Section titled “rxOptionalBreakStr”static QString RTextRenderer::rxOptionalBreakStr = QString::fromWCharArray(L"[\\s\u200B]+")static
rxOverlineOff
Section titled “rxOverlineOff”static QRegularExpression RTextRenderer::rxOverlineOffstatic
rxOverlineOffStr
Section titled “rxOverlineOffStr”static QString RTextRenderer::rxOverlineOffStr = "\\\\o"static
rxOverlineOn
Section titled “rxOverlineOn”static QRegularExpression RTextRenderer::rxOverlineOnstatic
rxOverlineOnStr
Section titled “rxOverlineOnStr”static QString RTextRenderer::rxOverlineOnStr = "\\\\O"static
rxParagraphFeed
Section titled “rxParagraphFeed”static QRegularExpression RTextRenderer::rxParagraphFeedstatic
rxParagraphFeedStr
Section titled “rxParagraphFeedStr”static QString RTextRenderer::rxParagraphFeedStr = "\\\\P"static
rxPlusMinus
Section titled “rxPlusMinus”static QRegularExpression RTextRenderer::rxPlusMinusstatic
rxPlusMinusStr
Section titled “rxPlusMinusStr”static QString RTextRenderer::rxPlusMinusStr = "%%[pP]"static
rxStackedText
Section titled “rxStackedText”static QRegularExpression RTextRenderer::rxStackedTextstatic
rxStackedTextStr
Section titled “rxStackedTextStr”static QString RTextRenderer::rxStackedTextStr = "\\\\S([^^]*)\\^([^;]*);"static
rxStrikethroughOff
Section titled “rxStrikethroughOff”static QRegularExpression RTextRenderer::rxStrikethroughOffstatic
rxStrikethroughOffStr
Section titled “rxStrikethroughOffStr”static QString RTextRenderer::rxStrikethroughOffStr = "\\\\k"static
rxStrikethroughOn
Section titled “rxStrikethroughOn”static QRegularExpression RTextRenderer::rxStrikethroughOnstatic
rxStrikethroughOnStr
Section titled “rxStrikethroughOnStr”static QString RTextRenderer::rxStrikethroughOnStr = "\\\\K"static
rxTabIN
Section titled “rxTabIN”static QRegularExpression RTextRenderer::rxTabINstatic
rxTabINStr
Section titled “rxTabINStr”static QString RTextRenderer::rxTabINStr = "\\\\pxt(\\d*\\.?\\d*,?)*;"static
rxTabMM
Section titled “rxTabMM”static QRegularExpression RTextRenderer::rxTabMMstatic
rxTabMMStr
Section titled “rxTabMMStr”static QString RTextRenderer::rxTabMMStr = "\\\\pt(\\d*\\.?\\d*,?)*;"static
rxTrackChange
Section titled “rxTrackChange”static QRegularExpression RTextRenderer::rxTrackChangestatic
rxTrackChangeStr
Section titled “rxTrackChangeStr”static QString RTextRenderer::rxTrackChangeStr = "\\\\T(\\d*\\.?\\d*);"static
rxUnderline
Section titled “rxUnderline”static QRegularExpression RTextRenderer::rxUnderlinestatic
rxUnderlineChange
Section titled “rxUnderlineChange”static QRegularExpression RTextRenderer::rxUnderlineChangestatic
rxUnderlineChangeStr
Section titled “rxUnderlineChangeStr”static QString RTextRenderer::rxUnderlineChangeStr = "\\\\L|\\\\l"static
rxUnderlineOff
Section titled “rxUnderlineOff”static QRegularExpression RTextRenderer::rxUnderlineOffstatic
rxUnderlineOffStr
Section titled “rxUnderlineOffStr”static QString RTextRenderer::rxUnderlineOffStr = "\\\\l"static
rxUnderlineOn
Section titled “rxUnderlineOn”static QRegularExpression RTextRenderer::rxUnderlineOnstatic
rxUnderlineOnStr
Section titled “rxUnderlineOnStr”static QString RTextRenderer::rxUnderlineOnStr = "\\\\L"static
rxUnderlineStr
Section titled “rxUnderlineStr”static QString RTextRenderer::rxUnderlineStr = "%%[uU]"static
rxUnicode
Section titled “rxUnicode”static QRegularExpression RTextRenderer::rxUnicodestatic
rxUnicodeStr
Section titled “rxUnicodeStr”static QString RTextRenderer::rxUnicodeStr = "\\\\[Uu]\\+([0-9a-fA-F]{4})"static
rxWidthChange
Section titled “rxWidthChange”static QRegularExpression RTextRenderer::rxWidthChangestatic
rxWidthChangeStr
Section titled “rxWidthChangeStr”static QString RTextRenderer::rxWidthChangeStr = "\\\\W(\\d*\\.?\\d*)x?;"static
rxXAlignmentCenter
Section titled “rxXAlignmentCenter”static QRegularExpression RTextRenderer::rxXAlignmentCenterstatic
rxXAlignmentCenterStr
Section titled “rxXAlignmentCenterStr”static QString RTextRenderer::rxXAlignmentCenterStr = "\\\\pxqc;"static
rxXAlignmentLeft
Section titled “rxXAlignmentLeft”static QRegularExpression RTextRenderer::rxXAlignmentLeftstatic
rxXAlignmentLeftStr
Section titled “rxXAlignmentLeftStr”static QString RTextRenderer::rxXAlignmentLeftStr = "\\\\pxql;"static
rxXAlignmentRight
Section titled “rxXAlignmentRight”static QRegularExpression RTextRenderer::rxXAlignmentRightstatic
rxXAlignmentRightStr
Section titled “rxXAlignmentRightStr”static QString RTextRenderer::rxXAlignmentRightStr = "\\\\pxqr;"static
rxXFeed
Section titled “rxXFeed”static QRegularExpression RTextRenderer::rxXFeedstatic
rxXFeedStr
Section titled “rxXFeedStr”static QString RTextRenderer::rxXFeedStr = "\\\\X"static
rxXSpaceMText
Section titled “rxXSpaceMText”static QRegularExpression RTextRenderer::rxXSpaceMTextstatic
rxXSpaceMTextStr
Section titled “rxXSpaceMTextStr”static QString RTextRenderer::rxXSpaceMTextStr = "\\\\pxsm(\\d*\\.?\\d*),?[a-z]*;"static
getBlockBold
Section titled “getBlockBold”bool RTextRenderer::getBlockBold() constinline const private
getBlockFont
Section titled “getBlockFont”QString RTextRenderer::getBlockFont() constinline const private
getBlockFontFile
Section titled “getBlockFontFile”QString RTextRenderer::getBlockFontFile() constinline const private
getBlockHeight
Section titled “getBlockHeight”double RTextRenderer::getBlockHeight() constinline const private
getBlockItalic
Section titled “getBlockItalic”bool RTextRenderer::getBlockItalic() constinline const private
getBlockUnderline
Section titled “getBlockUnderline”bool RTextRenderer::getBlockUnderline() constinline const private
getCharacterRect
Section titled “getCharacterRect”QRectF RTextRenderer::getCharacterRect(const QFont &font, const QChar &ch) constconst private
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
getCharacterRect
Section titled “getCharacterRect”QRectF RTextRenderer::getCharacterRect(const QString &fontName, const QChar &ch) constconst private
Returns: Bounding box of the given character with the given font in size ‘1’, rendered at 0/0. Used to find out the CAD relevant height, ascent and descent of the font.
getCurrentFormat
Section titled “getCurrentFormat”QTextCharFormat RTextRenderer::getCurrentFormat() constinline const private
getPainterPathsForBlock
Section titled “getPainterPathsForBlock”QList< RPainterPath > RTextRenderer::getPainterPathsForBlock(const QString &blockText, const QList< QTextLayout::FormatRange > &formats, double &horizontalAdvance, double &horizontalAdvanceNoSpacing, double &horizontalAdvanceNoTrailingSpace, double &ascent, double &descent, double &usedHeight)private
getPainterPathsForBlockCad
Section titled “getPainterPathsForBlockCad”QList< RPainterPath > RTextRenderer::getPainterPathsForBlockCad(const QString &blockText, const QList< QTextLayout::FormatRange > &formats, double &horizontalAdvance, double &horizontalAdvanceNoSpacing, double &horizontalAdvanceNoTrailingSpace, double &ascent, double &descent, double &usedHeight)private
Returns: Painter paths for the given text block in CAD font, positioned at 0/0 (bottom left corner) and with a font size of 1 drawing unit.
getPainterPathsForBlockTtf
Section titled “getPainterPathsForBlockTtf”QList< RPainterPath > RTextRenderer::getPainterPathsForBlockTtf(const QString &blockText, const QList< QTextLayout::FormatRange > &formats, double &horizontalAdvance, double &horizontalAdvanceNoSpacing, double &horizontalAdvanceNoTrailingSpace, double &ascent, double &descent, double &usedHeight)private
Returns: Painter paths for the given text block in TTF font, positioned at 0/0 (bottom left corner) and with a font size of 1 drawing unit.
getRichTextForBlock
Section titled “getRichTextForBlock”QString RTextRenderer::getRichTextForBlock(const QString &blockText, const QList< QTextLayout::FormatRange > &formats)private
getUseCadFont
Section titled “getUseCadFont”bool RTextRenderer::getUseCadFont() constinline const private
preparePath
Section titled “preparePath”void RTextRenderer::preparePath(RPainterPath &path, const RColor &color, double cursor, double cxfScale)private
preparePathColor
Section titled “preparePathColor”void RTextRenderer::preparePathColor(RPainterPath &path, const RColor &color)private
preparePathTransform
Section titled “preparePathTransform”void RTextRenderer::preparePathTransform(RPainterPath &path, double cursor, double cxfScale)private
setBlockBold
Section titled “setBlockBold”void RTextRenderer::setBlockBold(bool on)inline private
setBlockFont
Section titled “setBlockFont”void RTextRenderer::setBlockFont(const QString &f)inline private
setBlockFontFile
Section titled “setBlockFontFile”void RTextRenderer::setBlockFontFile(const QString &f)inline private
setBlockHeight
Section titled “setBlockHeight”void RTextRenderer::setBlockHeight(double h)inline private
setBlockItalic
Section titled “setBlockItalic”void RTextRenderer::setBlockItalic(bool on)inline private
setBlockUnderline
Section titled “setBlockUnderline”void RTextRenderer::setBlockUnderline(bool on)inline private
setCurrentFormat
Section titled “setCurrentFormat”void RTextRenderer::setCurrentFormat(QTextCharFormat f)inline private
setUseCadFont
Section titled “setUseCadFont”void RTextRenderer::setUseCadFont(bool on)inline private
blockBold
Section titled “blockBold”QStack<bool> RTextRenderer::blockBoldprivate
blockFont
Section titled “blockFont”QStack<QString> RTextRenderer::blockFontprivate
blockFontFile
Section titled “blockFontFile”QStack<QString> RTextRenderer::blockFontFileprivate
blockHeight
Section titled “blockHeight”QStack<double> RTextRenderer::blockHeightprivate
blockItalic
Section titled “blockItalic”QStack<bool> RTextRenderer::blockItalicprivate
blockUnderline
Section titled “blockUnderline”QStack<bool> RTextRenderer::blockUnderlineprivate
boundingBox
Section titled “boundingBox”RBox RTextRenderer::boundingBoxprivate
currentFormat
Section titled “currentFormat”QStack<QTextCharFormat> RTextRenderer::currentFormatprivate
bool RTextRenderer::draftprivate
fontHeightFactor
Section titled “fontHeightFactor”double RTextRenderer::fontHeightFactorprivate
height
Section titled “height”double RTextRenderer::heightprivate
lineBlockTransforms
Section titled “lineBlockTransforms”QList<QTransform> RTextRenderer::lineBlockTransformsprivate
openTags
Section titled “openTags”QStack<QStringList> RTextRenderer::openTagsprivate
painterPaths
Section titled “painterPaths”QList<RPainterPath> RTextRenderer::painterPathsprivate
richText
Section titled “richText”QString RTextRenderer::richTextprivate
target
Section titled “target”Target RTextRenderer::targetprivate
textData
Section titled “textData”const RTextBasedData& RTextRenderer::textDataprivate
textLayouts
Section titled “textLayouts”QList<RTextLayout> RTextRenderer::textLayoutsprivate
useCadFont
Section titled “useCadFont”QStack<bool> RTextRenderer::useCadFontprivate
double RTextRenderer::widthprivate
static QMutex RTextRenderer::mstatic private