Changeset View
Changeset View
Standalone View
Standalone View
commands/imagelib/transforms/kpTransformResizeScaleCommand.cpp
Show All 35 Lines | |||||
36 | #include "environments/commands/kpCommandEnvironment.h" | 36 | #include "environments/commands/kpCommandEnvironment.h" | ||
37 | #include "kpDefs.h" | 37 | #include "kpDefs.h" | ||
38 | #include "document/kpDocument.h" | 38 | #include "document/kpDocument.h" | ||
39 | #include "layers/selections/image/kpFreeFormImageSelection.h" | 39 | #include "layers/selections/image/kpFreeFormImageSelection.h" | ||
40 | #include "pixmapfx/kpPixmapFX.h" | 40 | #include "pixmapfx/kpPixmapFX.h" | ||
41 | #include "layers/selections/image/kpRectangularImageSelection.h" | 41 | #include "layers/selections/image/kpRectangularImageSelection.h" | ||
42 | #include "layers/selections/text/kpTextSelection.h" | 42 | #include "layers/selections/text/kpTextSelection.h" | ||
43 | 43 | | |||
44 | #include <math.h> | 44 | #include <cmath> | ||
45 | 45 | | |||
46 | #include <qapplication.h> | 46 | #include <QApplication> | ||
47 | #include <qpoint.h> | 47 | #include <QPoint> | ||
48 | #include <qpolygon.h> | 48 | #include <QPolygon> | ||
49 | #include <qrect.h> | 49 | #include <QRect> | ||
50 | #include <qsize.h> | 50 | #include <QSize> | ||
51 | #include <qmatrix.h> | 51 | #include <QMatrix> | ||
52 | 52 | | |||
53 | #include "kpLogCategories.h" | 53 | #include "kpLogCategories.h" | ||
54 | 54 | | |||
55 | #include <KLocalizedString> | 55 | #include <KLocalizedString> | ||
56 | 56 | | |||
57 | //-------------------------------------------------------------------------------- | 57 | //-------------------------------------------------------------------------------- | ||
58 | 58 | | |||
59 | kpTransformResizeScaleCommand::kpTransformResizeScaleCommand (bool actOnSelection, | 59 | kpTransformResizeScaleCommand::kpTransformResizeScaleCommand (bool actOnSelection, | ||
▲ Show 20 Lines • Show All 419 Lines • Show Last 20 Lines |