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