|
Krita Source Code Documentation
|
Public Types | |
| enum | Mode { OVER_POINT = 0 , MULTIPLE_POINT_SELECTION , MOVE_MODE , ROTATE_MODE , SCALE_MODE , NOTHING } |
Public Member Functions | |
| QVector< QPointF * > | getSelectedPoints (QPointF *center, bool limitToSelectedOnly=false) const |
| QPointF | imageToThumb (const QPointF &pt, bool useFlakeOptimization) |
| Private (KisWarpTransformStrategy *_q, const KisCoordinatesConverter *_converter, ToolTransformArgs &_currentArgs, TransformTransactionProperties &_transaction) | |
| void | recalculateTransformations () |
| bool | shouldCloseTheCage () const |
Public Attributes | |
| bool | clipOriginalPointsPosition {true} |
| bool | closeOnStartPointClick {false} |
| const KisCoordinatesConverter * | converter {0} |
| standard members /// | |
| ToolTransformArgs & | currentArgs |
| bool | drawConnectionLines {false} |
| bool | drawOrigPoints {false} |
| bool | drawTransfPoints {true} |
| QTransform | handlesTransform |
| QPointF | lastMousePos |
| int | lastNumPoints {0} |
| Mode | mode {NOTHING} |
| QPointF | paintingOffset |
| QTransform | paintingTransform |
| int | pointIndexUnderCursor {0} |
| QPointF | pointPosOnClick |
| QVector< int > | pointsInAction |
| bool | pointWasDragged {false} |
| KisWarpTransformStrategy *const | q |
| KisSignalCompressor | recalculateSignalCompressor |
| TransformTransactionProperties & | transaction |
| QImage | transformedImage |
| custom members /// | |
| TransformType | transformType = TransformType::WARP_TRANSFORM |
Definition at line 27 of file kis_warp_transform_strategy.cpp.
| Enumerator | |
|---|---|
| OVER_POINT | |
| MULTIPLE_POINT_SELECTION | |
| MOVE_MODE | |
| ROTATE_MODE | |
| SCALE_MODE | |
| NOTHING | |
Definition at line 63 of file kis_warp_transform_strategy.cpp.
|
inline |
Definition at line 29 of file kis_warp_transform_strategy.cpp.
| QVector< QPointF * > KisWarpTransformStrategy::Private::getSelectedPoints | ( | QPointF * | center, |
| bool | limitToSelectedOnly = false ) const |
Definition at line 429 of file kis_warp_transform_strategy.cpp.
References KisAlgebra2D::accumulateBounds(), currentArgs, pointsInAction, and ToolTransformArgs::refTransformedPoints().
|
inline |
Definition at line 572 of file kis_warp_transform_strategy.cpp.
| void KisWarpTransformStrategy::Private::recalculateTransformations | ( | ) |
Definition at line 577 of file kis_warp_transform_strategy.cpp.
References KisTransformUtils::imageToFlakeTransform(), KisTransformUtils::scaleFromAffineMatrix(), and KisTransformUtils::thumbnailTooSmall().
| bool KisWarpTransformStrategy::Private::shouldCloseTheCage | ( | ) | const |
Definition at line 548 of file kis_warp_transform_strategy.cpp.
| bool KisWarpTransformStrategy::Private::clipOriginalPointsPosition {true} |
Definition at line 80 of file kis_warp_transform_strategy.cpp.
| bool KisWarpTransformStrategy::Private::closeOnStartPointClick {false} |
Definition at line 79 of file kis_warp_transform_strategy.cpp.
| const KisCoordinatesConverter* KisWarpTransformStrategy::Private::converter {0} |
| ToolTransformArgs& KisWarpTransformStrategy::Private::currentArgs |
Definition at line 48 of file kis_warp_transform_strategy.cpp.
| bool KisWarpTransformStrategy::Private::drawConnectionLines {false} |
Definition at line 76 of file kis_warp_transform_strategy.cpp.
| bool KisWarpTransformStrategy::Private::drawOrigPoints {false} |
Definition at line 77 of file kis_warp_transform_strategy.cpp.
| bool KisWarpTransformStrategy::Private::drawTransfPoints {true} |
Definition at line 78 of file kis_warp_transform_strategy.cpp.
| QTransform KisWarpTransformStrategy::Private::handlesTransform |
Definition at line 55 of file kis_warp_transform_strategy.cpp.
| QPointF KisWarpTransformStrategy::Private::lastMousePos |
Definition at line 84 of file kis_warp_transform_strategy.cpp.
| int KisWarpTransformStrategy::Private::lastNumPoints {0} |
Definition at line 74 of file kis_warp_transform_strategy.cpp.
Definition at line 71 of file kis_warp_transform_strategy.cpp.
| QPointF KisWarpTransformStrategy::Private::paintingOffset |
Definition at line 53 of file kis_warp_transform_strategy.cpp.
| QTransform KisWarpTransformStrategy::Private::paintingTransform |
Definition at line 52 of file kis_warp_transform_strategy.cpp.
| int KisWarpTransformStrategy::Private::pointIndexUnderCursor {0} |
Definition at line 61 of file kis_warp_transform_strategy.cpp.
| QPointF KisWarpTransformStrategy::Private::pointPosOnClick |
Definition at line 81 of file kis_warp_transform_strategy.cpp.
| QVector<int> KisWarpTransformStrategy::Private::pointsInAction |
Definition at line 73 of file kis_warp_transform_strategy.cpp.
| bool KisWarpTransformStrategy::Private::pointWasDragged {false} |
Definition at line 82 of file kis_warp_transform_strategy.cpp.
| KisWarpTransformStrategy* const KisWarpTransformStrategy::Private::q |
Definition at line 41 of file kis_warp_transform_strategy.cpp.
| KisSignalCompressor KisWarpTransformStrategy::Private::recalculateSignalCompressor |
Definition at line 88 of file kis_warp_transform_strategy.cpp.
| TransformTransactionProperties& KisWarpTransformStrategy::Private::transaction |
Definition at line 50 of file kis_warp_transform_strategy.cpp.
| QImage KisWarpTransformStrategy::Private::transformedImage |
custom members ///
Definition at line 59 of file kis_warp_transform_strategy.cpp.
| TransformType KisWarpTransformStrategy::Private::transformType = TransformType::WARP_TRANSFORM |
Definition at line 87 of file kis_warp_transform_strategy.cpp.