RTextBasedData
Class in Entity Module
Header: #include <src/core/RTextBasedData.h>
Inherits: REntityData, RPainterPathSource
Inherited by: RAttributeData, RAttributeDefinitionData, RTextData
Description
Section titled “Description”Stores and manages all data that defines the geometry and appearance of a text based entity (text, block attribute, block attribute definition).
Scriptable: This class is available in script environments.
Shared Pointer Support: Objects can be used in QSharedPointer.
Copyable: Objects are cleaned up automatically by the garbage collector of the script engine.
Public Types
Section titled “Public Types”| enum | TextFlag { NoFlags, Bold, Italic, Simple, DimensionLabel, Highlighted, Backward, UpsideDown } |
Public Functions
Section titled “Public Functions”RTextBasedData(const RVector &position, const RVector &alignmentPoint, double textHeight, double textWidth, RS::VAlign verticalAlignment, RS::HAlign horizontalAlignment, RS::TextDrawingDirection drawingDirection, RS::TextLineSpacingStyle lineSpacingStyle, double lineSpacingFactor, const QString &text, const QString &fontName, bool bold, bool italic, double angle, bool simple) |
|
RTextBasedData(RDocument *document=NULL) |
|
| virtual | ~RTextBasedData() |
| virtual bool | flipHorizontal() |
| virtual bool | flipVertical() |
| RVector | getAlignmentPoint() const |
| double | getAngle() const |
| virtual RBox | getBoundingBox(bool ignoreEmpty=false) const |
| virtual QList< RVector > | getCenterPoints(const RBox &queryBox=RDEFAULT_RBOX) const |
| virtual RVector | getClosestPointOnEntity(const RVector &point, double range, bool limited) const |
| virtual QSharedPointer< RShape > | getClosestShape(const RVector &pos, double range=RNANDOUBLE, bool ignoreComplex=false) const |
| virtual double | getDistanceTo(const RVector &point, bool limited=true, double range=0.0, bool draft=false, double strictRange=RMAXDOUBLE) const |
| RS::TextDrawingDirection | getDrawingDirection() const |
| virtual QList< RVector > | getEndPoints(const RBox &queryBox=RDEFAULT_RBOX) const |
| virtual QString | getEscapedText(bool escapeUnicode=false) const |
| virtual QList< QSharedPointer< RShape > > | getExploded() const |
| bool | getFlag(RTextBasedData::TextFlag flag) const |
| QString | getFontFile() const |
| QString | getFontName() const |
| RS::HAlign | getHAlign() const |
| double | getHeight() constHeight of the text (this is not equal to the bounding box height as it is the height of the text at 0 angle). |
| double | getLineSpacingFactor() const |
| RS::TextLineSpacingStyle | getLineSpacingStyle() const |
| virtual QFont | getMainFont() const |
| virtual QList< RVector > | getMiddlePoints(const RBox &queryBox=RDEFAULT_RBOX) const |
| virtual QList< RPainterPath > | getPainterPaths(bool draft=false, double pixelSizeHint=RDEFAULT_MIN1) const |
| virtual QString | getPlainText() const |
| virtual RVector | getPointOnEntity() const |
| virtual QList< RVector > | getPointsWithDistanceToEnd(double distance, int from=RS::FromAny, const RBox &queryBox=RDEFAULT_RBOX) const |
| RVector | getPosition() const |
| virtual QList< RRefPoint > | getReferencePoints(RS::ProjectionRenderingHint hint=RS::RenderTop) const |
| virtual QString | getRenderedText(bool escapeUnicode=false) const |
| QList< RVector > | getRotatedBoundingBox() const |
| virtual QList< QSharedPointer< RShape > > | getShapes(const RBox &queryBox=RDEFAULT_RBOX, bool ignoreComplex=false, bool segment=false, QList< RObject::Id > *entityIds=NULL) const |
| QList< RTextBasedData > | getSimpleTextBlocks() |
| virtual QString | getText() const |
| double | getTextHeight() const |
| QList< RTextLayout > | getTextLayouts() const |
| double | getTextWidth() constWidth of the text box used for line wrapping. |
| virtual RS::EntityType | getType() const |
| RS::VAlign | getVAlign() const |
| double | getWidth() constWidth of the text (this is not equal to the bounding box width as it is the width of the text at 0 angle). |
| double | getXScale() const |
| virtual bool | intersectsWith(const RShape &shape) const |
| bool | isBackward() const |
| bool | isBold() const |
| bool | isDimensionLabel() const |
| virtual bool | isDirty() const |
| bool | isHighlighted() const |
| bool | isItalic() const |
| virtual bool | isSane() const |
| bool | isSimple() const |
| bool | isUpsideDown() const |
| virtual bool | isValid() const |
| virtual bool | mirror(const RLine &axis) |
| virtual bool | move(const RVector &offset)Moves this entity by the given offset. |
| virtual bool | moveReferencePoint(const RVector &referencePoint, const RVector &targetPoint, Qt::KeyboardModifiers modifiers=Qt::NoModifier)Moves the given reference point to the given target point or does nothing if this entity has no reference point as the given location. |
| virtual bool | rotate(double rotation, const RVector ¢er) |
| virtual bool | scale(const RVector &scaleFactors, const RVector ¢er) |
| void | setAlignmentPoint(const RVector &alignmentPoint) |
| void | setAngle(double angle) |
| void | setBackward(bool on) |
| void | setBold(bool on) |
| void | setDimensionLabel(bool on) |
| void | setDrawingDirection(RS::TextDrawingDirection drawingDirection) |
| void | setFlag(RTextBasedData::TextFlag flag, bool on=true) |
| void | setFontFile(const QString &fontFile) |
| void | setFontName(const QString &fontName) |
| void | setHAlign(RS::HAlign halign) |
| void | setHighlighted(bool on) |
| void | setItalic(bool on) |
| void | setLineSpacingFactor(double lineSpacingFactor) |
| void | setLineSpacingStyle(RS::TextLineSpacingStyle lineSpacingStyle) |
| void | setPosition(const RVector &position) |
| virtual void | setSelected(bool on)Selects or deselects this entity. |
| void | setSimple(bool on) |
| void | setText(const QString &text) |
| void | setTextHeight(double h) |
| void | setTextWidth(double w) |
| void | setUpsideDown(bool on) |
| void | setVAlign(RS::VAlign valign) |
| void | setXScale(double xScale) |
| void | sync(const RTextBasedData &other) |
| virtual void | to2D() |
| virtual void | update() constEntities can reimplement this function to invalidate any internal cache (mark the entity as dirty). |
| virtual void | update(bool layout) const |
Static Public Functions
Section titled “Static Public Functions”| static QString | escapeUnicode(const QString &str) |
| static RS::EntityType | getRtti() |
| static RTextProxy * | getTextProxy() |
| static bool | hasProxy() |
| static void | setTextProxy(RTextProxy *p) |
| static QString | toEscapedText(const QTextDocument &textDocument, const RColor &initialColor, double fontHeightFactor=1.0, bool simpleText=false)Converts the given text document (typically from a QTextEdit) into CAD escaped text. |
| static QString | toRichText(const QString &escapedText, const QFont &mainFont, double fontHeightFactor=1.0) |
Protected Functions
Section titled “Protected Functions”RTextBasedData(RDocument *document, const RTextBasedData &data) |
Protected Attributes
Section titled “Protected Attributes”| RVector | alignmentPoint |
| double | angle |
| RBox | boundingBox |
| bool | dirty |
| RS::TextDrawingDirection | drawingDirection |
| TextFlags | flags |
| QString | fontFile |
| QString | fontName |
| bool | gotDraft |
| double | height |
| RS::HAlign | horizontalAlignment |
| double | lineSpacingFactor |
| RS::TextLineSpacingStyle | lineSpacingStyle |
| QList< RPainterPath > | painterPaths |
| RVector | position |
| QString | text |
| double | textHeight |
| QList< RTextLayout > | textLayouts |
| double | textWidth |
| RS::VAlign | verticalAlignment |
| double | width |
| double | xScale |
Static Private Attributes
Section titled “Static Private Attributes”| static RTextProxy * | textProxy |
Friends
Section titled “Friends”| class | RTextBasedEntity |
Member Documentation
Section titled “Member Documentation”TextFlag
Section titled “TextFlag”enum TextFlag| Value | Description |
|---|---|
NoFlags = 0x000 |
|
Bold = 0x001 |
|
Italic = 0x002 |
|
Simple = 0x004 |
|
DimensionLabel = 0x008 |
|
Highlighted = 0x010 |
|
Backward = 0x020 |
|
UpsideDown = 0x040 |
RTextBasedData
Section titled “RTextBasedData”RTextBasedData::RTextBasedData(const RVector &position, const RVector &alignmentPoint, double textHeight, double textWidth, RS::VAlign verticalAlignment, RS::HAlign horizontalAlignment, RS::TextDrawingDirection drawingDirection, RS::TextLineSpacingStyle lineSpacingStyle, double lineSpacingFactor, const QString &text, const QString &fontName, bool bold, bool italic, double angle, bool simple)Parameters:
position: Insertion point (see DXF code 10 doc).alignmentPoint: Alignment point of text (see DXF code 11 doc).height: Nominal (initial) text heighttextWidth: Reference rectangle width for wrapping (not supported)valign: Vertical alignmenthalign: Horizontal alignmentdrawingDirection: Drawing directionlineSpacingStyle: Line spacing stylelineSpacingFactor: Line spacing factortext: Text stringfontName: Text font nameangle: Rotation angle in rad
RTextBasedData
Section titled “RTextBasedData”RTextBasedData::RTextBasedData(RDocument *document=NULL)~RTextBasedData
Section titled “~RTextBasedData”virtual RTextBasedData::~RTextBasedData()virtual inline
flipHorizontal
Section titled “flipHorizontal”virtual bool RTextBasedData::flipHorizontal()virtual
Reimplemented from flipHorizontal.
flipVertical
Section titled “flipVertical”virtual bool RTextBasedData::flipVertical()virtual
Reimplemented from flipVertical.
getAlignmentPoint
Section titled “getAlignmentPoint”RVector RTextBasedData::getAlignmentPoint() constinline const
Returns: Alignment point of the reference point of the text. This is usually the same as the position.
getAngle
Section titled “getAngle”double RTextBasedData::getAngle() constinline const
getBoundingBox
Section titled “getBoundingBox”virtual RBox RTextBasedData::getBoundingBox(bool ignoreEmpty=false) constvirtual const
Returns: The bounding box that contains this entity.
Reimplemented from getBoundingBox.
getCenterPoints
Section titled “getCenterPoints”virtual QList< RVector > RTextBasedData::getCenterPoints(const RBox &queryBox=RDEFAULT_RBOX) constvirtual inline const
getClosestPointOnEntity
Section titled “getClosestPointOnEntity”virtual RVector RTextBasedData::getClosestPointOnEntity(const RVector &point, double range, bool limited) constvirtual const
getClosestShape
Section titled “getClosestShape”virtual QSharedPointer< RShape > RTextBasedData::getClosestShape(const RVector &pos, double range=RNANDOUBLE, bool ignoreComplex=false) constvirtual inline const
getDistanceTo
Section titled “getDistanceTo”virtual double RTextBasedData::getDistanceTo(const RVector &point, bool limited=true, double range=0.0, bool draft=false, double strictRange=RMAXDOUBLE) constvirtual const
Returns: The shortest distance from this entity to the given point.
Parameters:
limited: Limit lines, arcs at end points, otherwise the orthogonal distance to the unlimited line / circle is returned.range: This is returned for solid filled entities (solid filled or dense hatches, text entities) if the point is on the entity and the distance would be zero.draft: Calculate based on draft mode representation of the entity.strictRange: If limited, this is the maximum range from either end point of the entity. Zero to only return distances that are strictly orthogonal to the entity.
Reimplemented from getDistanceTo.
getDrawingDirection
Section titled “getDrawingDirection”RS::TextDrawingDirection RTextBasedData::getDrawingDirection() constinline const
getEndPoints
Section titled “getEndPoints”virtual QList< RVector > RTextBasedData::getEndPoints(const RBox &queryBox=RDEFAULT_RBOX) constvirtual inline const
getEscapedText
Section titled “getEscapedText”virtual QString RTextBasedData::getEscapedText(bool escapeUnicode=false) constvirtual const
getExploded
Section titled “getExploded”virtual QList< QSharedPointer< RShape > > RTextBasedData::getExploded() constvirtual const
getFlag
Section titled “getFlag”bool RTextBasedData::getFlag(RTextBasedData::TextFlag flag) constinline const
getFontFile
Section titled “getFontFile”QString RTextBasedData::getFontFile() constinline const
getFontName
Section titled “getFontName”QString RTextBasedData::getFontName() constinline const
getHAlign
Section titled “getHAlign”RS::HAlign RTextBasedData::getHAlign() constinline const
getHeight
Section titled “getHeight”double RTextBasedData::getHeight() constconst
Height of the text (this is not equal to the bounding box height as it is the height of the text at 0 angle).
getLineSpacingFactor
Section titled “getLineSpacingFactor”double RTextBasedData::getLineSpacingFactor() constinline const
getLineSpacingStyle
Section titled “getLineSpacingStyle”RS::TextLineSpacingStyle RTextBasedData::getLineSpacingStyle() constinline const
getMainFont
Section titled “getMainFont”virtual QFont RTextBasedData::getMainFont() constvirtual const
getMiddlePoints
Section titled “getMiddlePoints”virtual QList< RVector > RTextBasedData::getMiddlePoints(const RBox &queryBox=RDEFAULT_RBOX) constvirtual inline const
getPainterPaths
Section titled “getPainterPaths”virtual QList< RPainterPath > RTextBasedData::getPainterPaths(bool draft=false, double pixelSizeHint=RDEFAULT_MIN1) constvirtual const
Reimplemented from getPainterPaths.
getPlainText
Section titled “getPlainText”virtual QString RTextBasedData::getPlainText() constvirtual const
getPointOnEntity
Section titled “getPointOnEntity”virtual RVector RTextBasedData::getPointOnEntity() constvirtual const
Returns: A point that is on the entity. Used to check if an entity is inside a polygon.
Reimplemented from getPointOnEntity.
getPointsWithDistanceToEnd
Section titled “getPointsWithDistanceToEnd”virtual QList< RVector > RTextBasedData::getPointsWithDistanceToEnd(double distance, int from=RS::FromAny, const RBox &queryBox=RDEFAULT_RBOX) constvirtual inline const
getPosition
Section titled “getPosition”RVector RTextBasedData::getPosition() constinline const
Returns: Position of the reference point of the text.
getReferencePoints
Section titled “getReferencePoints”virtual QList< RRefPoint > RTextBasedData::getReferencePoints(RS::ProjectionRenderingHint hint=RS::RenderTop) constvirtual const
Returns: Vector of reference points of this entity. Reference points can usually be moved around by the user to change the geometry of the entity.
Reimplemented from getReferencePoints.
Reimplemented in getReferencePoints.
getRenderedText
Section titled “getRenderedText”virtual QString RTextBasedData::getRenderedText(bool escapeUnicode=false) constvirtual const
Reimplemented in getRenderedText, getRenderedText.
getRotatedBoundingBox
Section titled “getRotatedBoundingBox”QList< RVector > RTextBasedData::getRotatedBoundingBox() constconst
getShapes
Section titled “getShapes”virtual QList< QSharedPointer< RShape > > RTextBasedData::getShapes(const RBox &queryBox=RDEFAULT_RBOX, bool ignoreComplex=false, bool segment=false, QList< RObject::Id > *entityIds=NULL) constvirtual const
Returns: Shapes that represent the geometry of this entity.
Parameters:
queryBox: Limit returned shapes to query boxignoreComplex: Ignore complex shapes and explode those into simple shapessegment: Split up splines into spline segments
Reimplemented from getShapes.
getSimpleTextBlocks
Section titled “getSimpleTextBlocks”QList< RTextBasedData > RTextBasedData::getSimpleTextBlocks()Returns: List of text data objects representing simple texts. Complex formatted texts are split up into smaller text blocks, each with unique formatting, color, etc.
getText
Section titled “getText”virtual QString RTextBasedData::getText() constvirtual inline const
getTextHeight
Section titled “getTextHeight”double RTextBasedData::getTextHeight() constinline const
getTextLayouts
Section titled “getTextLayouts”QList< RTextLayout > RTextBasedData::getTextLayouts() constconst
getTextWidth
Section titled “getTextWidth”double RTextBasedData::getTextWidth() constinline const
Width of the text box used for line wrapping.
getType
Section titled “getType”virtual RS::EntityType RTextBasedData::getType() constvirtual inline const
Reimplemented from getType.
Reimplemented in getType, getType, getType.
getVAlign
Section titled “getVAlign”RS::VAlign RTextBasedData::getVAlign() constinline const
getWidth
Section titled “getWidth”double RTextBasedData::getWidth() constconst
Width of the text (this is not equal to the bounding box width as it is the width of the text at 0 angle).
getXScale
Section titled “getXScale”double RTextBasedData::getXScale() constinline const
intersectsWith
Section titled “intersectsWith”virtual bool RTextBasedData::intersectsWith(const RShape &shape) constvirtual const
Returns: True if this entity intersects with the given shape, false otherwise.
Reimplemented from intersectsWith.
isBackward
Section titled “isBackward”bool RTextBasedData::isBackward() constinline const
isBold
Section titled “isBold”bool RTextBasedData::isBold() constinline const
isDimensionLabel
Section titled “isDimensionLabel”bool RTextBasedData::isDimensionLabel() constinline const
isDirty
Section titled “isDirty”virtual bool RTextBasedData::isDirty() constvirtual const
isHighlighted
Section titled “isHighlighted”bool RTextBasedData::isHighlighted() constinline const
isItalic
Section titled “isItalic”bool RTextBasedData::isItalic() constinline const
isSane
Section titled “isSane”virtual bool RTextBasedData::isSane() constvirtual const
Reimplemented from isSane.
isSimple
Section titled “isSimple”bool RTextBasedData::isSimple() constinline const
isUpsideDown
Section titled “isUpsideDown”bool RTextBasedData::isUpsideDown() constinline const
isValid
Section titled “isValid”virtual bool RTextBasedData::isValid() constvirtual inline const
Reimplemented from isValid.
mirror
Section titled “mirror”virtual bool RTextBasedData::mirror(const RLine &axis)virtual
Reimplemented from mirror.
virtual bool RTextBasedData::move(const RVector &offset)virtual
Moves this entity by the given offset.
Reimplemented from move.
moveReferencePoint
Section titled “moveReferencePoint”virtual bool RTextBasedData::moveReferencePoint(const RVector &referencePoint, const RVector &targetPoint, Qt::KeyboardModifiers modifiers=Qt::NoModifier)virtual
Moves the given reference point to the given target point or does nothing if this entity has no reference point as the given location.
Returns: True if a reference point has been moved successfully, false otherwise.
Reimplemented from moveReferencePoint.
rotate
Section titled “rotate”virtual bool RTextBasedData::rotate(double rotation, const RVector ¢er)virtual
Reimplemented from rotate.
virtual bool RTextBasedData::scale(const RVector &scaleFactors, const RVector ¢er)virtual
Reimplemented from scale.
setAlignmentPoint
Section titled “setAlignmentPoint”void RTextBasedData::setAlignmentPoint(const RVector &alignmentPoint)inline
setAngle
Section titled “setAngle”void RTextBasedData::setAngle(double angle)inline
setBackward
Section titled “setBackward”void RTextBasedData::setBackward(bool on)inline
setBold
Section titled “setBold”void RTextBasedData::setBold(bool on)inline
setDimensionLabel
Section titled “setDimensionLabel”void RTextBasedData::setDimensionLabel(bool on)inline
setDrawingDirection
Section titled “setDrawingDirection”void RTextBasedData::setDrawingDirection(RS::TextDrawingDirection drawingDirection)inline
setFlag
Section titled “setFlag”void RTextBasedData::setFlag(RTextBasedData::TextFlag flag, bool on=true)inline
setFontFile
Section titled “setFontFile”void RTextBasedData::setFontFile(const QString &fontFile)inline
setFontName
Section titled “setFontName”void RTextBasedData::setFontName(const QString &fontName)setHAlign
Section titled “setHAlign”void RTextBasedData::setHAlign(RS::HAlign halign)inline
setHighlighted
Section titled “setHighlighted”void RTextBasedData::setHighlighted(bool on)inline
setItalic
Section titled “setItalic”void RTextBasedData::setItalic(bool on)inline
setLineSpacingFactor
Section titled “setLineSpacingFactor”void RTextBasedData::setLineSpacingFactor(double lineSpacingFactor)inline
setLineSpacingStyle
Section titled “setLineSpacingStyle”void RTextBasedData::setLineSpacingStyle(RS::TextLineSpacingStyle lineSpacingStyle)inline
setPosition
Section titled “setPosition”void RTextBasedData::setPosition(const RVector &position)inline
setSelected
Section titled “setSelected”virtual void RTextBasedData::setSelected(bool on)virtual inline
Selects or deselects this entity.
Reimplemented from setSelected.
setSimple
Section titled “setSimple”void RTextBasedData::setSimple(bool on)inline
setText
Section titled “setText”void RTextBasedData::setText(const QString &text)setTextHeight
Section titled “setTextHeight”void RTextBasedData::setTextHeight(double h)inline
setTextWidth
Section titled “setTextWidth”void RTextBasedData::setTextWidth(double w)inline
setUpsideDown
Section titled “setUpsideDown”void RTextBasedData::setUpsideDown(bool on)inline
setVAlign
Section titled “setVAlign”void RTextBasedData::setVAlign(RS::VAlign valign)inline
setXScale
Section titled “setXScale”void RTextBasedData::setXScale(double xScale)inline
void RTextBasedData::sync(const RTextBasedData &other)virtual void RTextBasedData::to2D()virtual
HTML helper function.
HTML helper function.
HTML helper function.
HTML helper function.
HTML helper function.
HTML helper function.
HTML helper function.
HTML helper function.
Reimplemented from to2D.
update
Section titled “update”virtual void RTextBasedData::update() constvirtual inline const
Entities can reimplement this function to invalidate any internal cache (mark the entity as dirty).
Reimplemented from update.
update
Section titled “update”virtual void RTextBasedData::update(bool layout) constvirtual const
escapeUnicode
Section titled “escapeUnicode”static QString RTextBasedData::escapeUnicode(const QString &str)static
getRtti
Section titled “getRtti”static RS::EntityType RTextBasedData::getRtti()static inline
getTextProxy
Section titled “getTextProxy”static RTextProxy * RTextBasedData::getTextProxy()static inline
Non-Scriptable: This function is not available in script environments.
hasProxy
Section titled “hasProxy”static bool RTextBasedData::hasProxy()static inline
setTextProxy
Section titled “setTextProxy”static void RTextBasedData::setTextProxy(RTextProxy *p)static inline
Non-Scriptable: This function is not available in script environments.
toEscapedText
Section titled “toEscapedText”static QString RTextBasedData::toEscapedText(const QTextDocument &textDocument, const RColor &initialColor, double fontHeightFactor=1.0, bool simpleText=false)static
Converts the given text document (typically from a QTextEdit) into CAD escaped text.
Parameters:
fontHeightFactor: factor applied to all font heights. This allows the text edit to use a bigger / smaller font that needed in the end.
toRichText
Section titled “toRichText”static QString RTextBasedData::toRichText(const QString &escapedText, const QFont &mainFont, double fontHeightFactor=1.0)static
Returns: HTML representing this text.
RTextBasedData
Section titled “RTextBasedData”RTextBasedData::RTextBasedData(RDocument *document, const RTextBasedData &data)protected
alignmentPoint
Section titled “alignmentPoint”RVector RTextBasedData::alignmentPointprotected
double RTextBasedData::angleprotected
boundingBox
Section titled “boundingBox”RBox RTextBasedData::boundingBoxprotected
bool RTextBasedData::dirtyprotected
drawingDirection
Section titled “drawingDirection”RS::TextDrawingDirection RTextBasedData::drawingDirectionprotected
TextFlags RTextBasedData::flagsprotected
fontFile
Section titled “fontFile”QString RTextBasedData::fontFileprotected
fontName
Section titled “fontName”QString RTextBasedData::fontNameprotected
gotDraft
Section titled “gotDraft”bool RTextBasedData::gotDraftprotected
height
Section titled “height”double RTextBasedData::heightprotected
horizontalAlignment
Section titled “horizontalAlignment”RS::HAlign RTextBasedData::horizontalAlignmentprotected
lineSpacingFactor
Section titled “lineSpacingFactor”double RTextBasedData::lineSpacingFactorprotected
lineSpacingStyle
Section titled “lineSpacingStyle”RS::TextLineSpacingStyle RTextBasedData::lineSpacingStyleprotected
painterPaths
Section titled “painterPaths”QList<RPainterPath> RTextBasedData::painterPathsprotected
position
Section titled “position”RVector RTextBasedData::positionprotected
QString RTextBasedData::textprotected
textHeight
Section titled “textHeight”double RTextBasedData::textHeightprotected
textLayouts
Section titled “textLayouts”QList<RTextLayout> RTextBasedData::textLayoutsprotected
textWidth
Section titled “textWidth”double RTextBasedData::textWidthprotected
verticalAlignment
Section titled “verticalAlignment”RS::VAlign RTextBasedData::verticalAlignmentprotected
double RTextBasedData::widthprotected
xScale
Section titled “xScale”double RTextBasedData::xScaleprotected
textProxy
Section titled “textProxy”static RTextProxy * RTextBasedData::textProxy = NULLstatic private
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.
RTextBasedEntity
Section titled “RTextBasedEntity”friend class RTextBasedEntityprivate