Definition at line 109 of file SvgTextCursor.cpp.
◆ boundingRect()
| QRectF TypeSettingDecorInfo::boundingRect |
( |
qreal | handleRadius | ) |
|
|
inline |
Definition at line 122 of file SvgTextCursor.cpp.
122 {
123 QRectF total;
124 for (
int i = 0; i<
paths.values().
size(); i++) {
125 total |=
paths.values().at(i).boundingRect();
126 }
128 total |=
baselines.values().at(i).boundingRect();
129 }
131 total |=
parentPaths.values().at(i).boundingRect();
132 }
135 }
136 total |=
edges.boundingRect();
137 QRectF
rect(0, 0, handleRadius, handleRadius);
142 return total;
143 }
int size(const Forest< T > &forest)
QMap< SvgTextCursor::TypeSettingModeHandle, QPainterPath > paths
QMap< SvgTextCursor::TypeSettingModeHandle, QPainterPath > baselines
QMap< SvgTextCursor::TypeSettingModeHandle, QPainterPath > parentBaselines
QPair< QPointF, QPointF > handles
QMap< SvgTextCursor::TypeSettingModeHandle, QPainterPath > parentPaths
References baselines, edges, handles, parentBaselines, parentPaths, and paths.
◆ testBaselines()
| bool TypeSettingDecorInfo::testBaselines |
( |
Qt::KeyboardModifiers | modifiers | ) |
|
|
inline |
Definition at line 145 of file SvgTextCursor.cpp.
145 {
146 return (modifiers & Qt::ShiftModifier);
147 }
◆ baselines
◆ closestBaselinePoint
| QPointF TypeSettingDecorInfo::closestBaselinePoint |
◆ edges
| QPainterPath TypeSettingDecorInfo::edges |
◆ handles
| QPair<QPointF, QPointF> TypeSettingDecorInfo::handles |
◆ handlesEnabled
| bool TypeSettingDecorInfo::handlesEnabled |
◆ parentBaselines
◆ parentPaths
◆ paths
The documentation for this struct was generated from the following file: