|
Krita Source Code Documentation
|
#include "CutThroughShapeStrategy.h"#include <QDebug>#include <QPainter>#include <kis_algebra_2d.h>#include <KoToolBase.h>#include <KoCanvasBase.h>#include <KoViewConverter.h>#include <KoSelection.h>#include <kis_global.h>#include "kis_debug.h"#include <KoPathShape.h>#include <krita_utils.h>#include <kis_canvas2.h>#include <QPainterPath>#include <KoShapeController.h>#include <kundo2command.h>#include <KoKeepShapesSelectedCommand.h>#include <QtMath>Go to the source code of this file.
Functions | |
| QPointF | snapEndPoint (const QPointF &startPoint, const QPointF &mouseLocation, Qt::KeyboardModifiers modifiers) |
| QPointF snapEndPoint | ( | const QPointF & | startPoint, |
| const QPointF & | mouseLocation, | ||
| Qt::KeyboardModifiers | modifiers ) |
Definition at line 50 of file CutThroughShapeStrategy.cpp.
References eps, kisDegreesToRadians(), and snapToClosestNiceAngle().