|
Krita Source Code Documentation
|
#include <KoCreatePathTool_p.h>
Inheritance diagram for KoCreatePathToolPrivate:Public Member Functions | |
| void | addPathShape () |
| void | angleDeltaChanged (qreal value) |
| void | angleSnapChanged (int angleSnap) |
| void | autoSmoothCurvesChanged (bool value) |
| void | cleanUp () |
| bool | connectPaths (KoPathShape *pathShape, const PathConnectionPoint &pointAtStart, const PathConnectionPoint &pointAtEnd) const |
| Connects given path with the ones we hit when starting/finishing. | |
| KoPathPoint * | endPointAtPosition (const QPointF &position) const |
| returns the nearest existing path point | |
| KoCreatePathToolPrivate (KoCreatePathTool *const qq, KoCanvasBase *canvas) | |
| void | loadAutoSmoothValueFromConfig () |
| void | repaintActivePoint () const |
Public Member Functions inherited from KoToolBasePrivate | |
| void | connectSignals () |
| KoToolBasePrivate (KoToolBase *qq, KoCanvasBase *canvas_) | |
| virtual | ~KoToolBasePrivate () |
Private Attributes | |
| KoCreatePathTool *const | q |
Definition at line 165 of file KoCreatePathTool_p.h.
|
inline |
Definition at line 169 of file KoCreatePathTool_p.h.
|
inline |
Definition at line 373 of file KoCreatePathTool_p.h.
References KoCreatePathTool::addPathShape(), cleanUp(), KoPathShape::pointCount(), q, and shape.
|
inline |
Definition at line 406 of file KoCreatePathTool_p.h.
References angleSnappingDelta, angleSnapStrategy, AngleSnapStrategy::setAngleStep(), and value().
|
inline |
Definition at line 426 of file KoCreatePathTool_p.h.
References AngleSnapStrategy::activate(), angleSnapStatus, angleSnapStrategy, and AngleSnapStrategy::deactivate().
|
inline |
Definition at line 412 of file KoCreatePathTool_p.h.
References autoSmoothCurves, KisConfig::setAutoSmoothBezierCurves(), and value().
|
inline |
Definition at line 392 of file KoCreatePathTool_p.h.
References activePoint, angleSnapStrategy, KoSnapGuide::boundingRect(), KoToolBase::canvas(), existingEndPoint, existingStartPoint, hoveredPoint, q, KoSnapGuide::reset(), shape, KoCanvasBase::snapGuide, and KoCanvasBase::updateCanvas().
|
inline |
Connects given path with the ones we hit when starting/finishing.
Definition at line 283 of file KoCreatePathTool_p.h.
References KoPathShape::combine(), existingEndPoint, existingStartPoint, PathConnectionPoint::isValid(), KoPathShape::moveSubpath(), PathConnectionPoint::path, KoPathShape::pathPointIndex(), PathConnectionPoint::point, KoPathShape::pointByIndex(), KoPathPointMergeCommand::redo(), KoPathShape::reverseSubpath(), KoPathShape::subpathCount(), and KoPathShape::subpathPointCount().
|
inline |
returns the nearest existing path point
Definition at line 240 of file KoCreatePathTool_p.h.
References KoToolBase::canvas(), KoToolBase::grabSensitivity(), KoToolBase::handleGrabRect(), KoParameterShape::isParametricShape(), p, q, KoCanvasBase::shapeManager(), KoShapeManager::shapesAt(), squareDistance(), KoCanvasBase::viewConverter(), and KoViewConverter::viewToDocumentX().
|
inline |
Definition at line 419 of file KoCreatePathTool_p.h.
References KisConfig::autoSmoothBezierCurves(), autoSmoothCurves, q, and KoCreatePathTool::sigUpdateAutoSmoothCurvesGUI().
|
inline |
Definition at line 209 of file KoCreatePathTool_p.h.
References activePoint, KoPathPoint::boundingRect(), KoToolBase::canvas(), KoPathPoint::controlPoint1, KoPathPoint::controlPoint2, firstPoint, handleRadius, KoPathPoint::point, pointIsDragged, q, KoCanvasBase::updateCanvas(), KoCanvasBase::viewConverter(), and KoViewConverter::viewToDocument().
| KoPathPoint* KoCreatePathToolPrivate::activePoint |
Definition at line 189 of file KoCreatePathTool_p.h.
| int KoCreatePathToolPrivate::angleSnappingDelta |
Definition at line 205 of file KoCreatePathTool_p.h.
| bool KoCreatePathToolPrivate::angleSnapStatus |
Definition at line 206 of file KoCreatePathTool_p.h.
| AngleSnapStrategy* KoCreatePathToolPrivate::angleSnapStrategy |
Definition at line 204 of file KoCreatePathTool_p.h.
| bool KoCreatePathToolPrivate::autoSmoothCurves = false |
Definition at line 200 of file KoCreatePathTool_p.h.
| int KoCreatePathToolPrivate::decorationThickness |
Definition at line 192 of file KoCreatePathTool_p.h.
| QPointF KoCreatePathToolPrivate::dragStartPoint |
Definition at line 202 of file KoCreatePathTool_p.h.
| bool KoCreatePathToolPrivate::enableClosePathShortcut |
Definition at line 207 of file KoCreatePathTool_p.h.
| PathConnectionPoint KoCreatePathToolPrivate::existingEndPoint |
an existing path point we finished a new path at
Definition at line 197 of file KoCreatePathTool_p.h.
| PathConnectionPoint KoCreatePathToolPrivate::existingStartPoint |
an existing path point we started a new path at
Definition at line 196 of file KoCreatePathTool_p.h.
| bool KoCreatePathToolPrivate::finishAfterThisPoint |
Definition at line 195 of file KoCreatePathTool_p.h.
| KoPathPoint* KoCreatePathToolPrivate::firstPoint |
Definition at line 190 of file KoCreatePathTool_p.h.
| int KoCreatePathToolPrivate::handleRadius |
Definition at line 191 of file KoCreatePathTool_p.h.
| KoPathPoint* KoCreatePathToolPrivate::hoveredPoint |
an existing path end point the mouse is hovering on
Definition at line 198 of file KoCreatePathTool_p.h.
| bool KoCreatePathToolPrivate::mouseOverFirstPoint |
Definition at line 193 of file KoCreatePathTool_p.h.
| bool KoCreatePathToolPrivate::pointIsDragged |
Definition at line 194 of file KoCreatePathTool_p.h.
| bool KoCreatePathToolPrivate::prevPointWasDragged = false |
Definition at line 199 of file KoCreatePathTool_p.h.
|
private |
Definition at line 167 of file KoCreatePathTool_p.h.
| KoPathShape* KoCreatePathToolPrivate::shape |
Definition at line 188 of file KoCreatePathTool_p.h.