7#ifndef __KIS_LIQUIFY_TRANSFORM_WORKER_H
8#define __KIS_LIQUIFY_TRANSFORM_WORKER_H
10#include <QScopedPointer>
11#include <boost/operators.hpp>
13#include <kritaimage_export.h>
28 int pixelPrecision = 8);
35 bool isIdentity()
const;
41 void translatePoints(
const QPointF &base,
42 const QPointF &offset,
47 void scalePoints(
const QPointF &base,
53 void rotatePoints(
const QPointF &base,
59 void undoPoints(
const QPointF &base,
63 void restoreShapePoints(
const QPointF &base,
66 bool preserveRotation,
68 bool preserveStretch);
74 QImage runOnQImage(
const QImage &srcImage,
75 const QPointF &srcImageOffset,
76 const QTransform &imageToThumbTransform,
79 void toXML(QDomElement *e)
const;
82 void translate(
const QPointF &offset);
83 void translateDstSpace(
const QPointF &offset);
85 QRect approxChangeRect(
const QRect &rc);
86 QRect approxNeedRect(
const QRect &rc,
const QRect &fullBounds);
87 QRectF accumulatedStrokesBounds()
const;
89 void transformSrcAndDst(
const QTransform &t);
93 const QScopedPointer<Private>
m_d;
bool operator==(const KisRegion &lhs, const KisRegion &rhs)