Definition at line 114 of file SvgTextCursor.cpp.
◆ boundingRect()
| QRectF TypeSettingDecorInfo::boundingRect |
( |
qreal | handleRadius | ) |
|
|
inline |
Definition at line 127 of file SvgTextCursor.cpp.
127 {
128 QRectF total;
129 for (
int i = 0; i<
paths.values().
size(); i++) {
130 total |=
paths.values().at(i).boundingRect();
131 }
133 total |=
baselines.values().at(i).boundingRect();
134 }
136 total |=
parentPaths.values().at(i).boundingRect();
137 }
140 }
141 total |=
edges.boundingRect();
142 QRectF
rect(0, 0, handleRadius, handleRadius);
147 return total;
148 }
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 150 of file SvgTextCursor.cpp.
150 {
151 return (modifiers & Qt::ShiftModifier);
152 }
◆ 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: