26 #ifndef DIGIKAM_FREE_ROTATION_FILTER_H
27 #define DIGIKAM_FREE_ROTATION_FILTER_H
61 backgroundColor(Qt::black)
98 QSize getNewSize()
const;
100 static double calculateAngle(
int x1,
int y1,
int x2,
int y2);
101 static double calculateAngle(
const QPoint& p1,
const QPoint& p2);
105 return QLatin1String(
"digikam:FreeRotationFilter");
108 static QString DisplayableName();
122 return FilterIdentifier();
126 void readParameters(
const FilterAction& action)
override;
130 void filterImage()
override;
131 inline int setPosition (
int Width,
int X,
int Y);
132 inline bool isInside (
int Width,
int Height,
int X,
int Y);
Definition: dimgthreadedfilter.h:41
Definition: filteraction.h:43
Definition: freerotationfilter.h:43
int orgW
Definition: freerotationfilter.h:74
double angle
Definition: freerotationfilter.h:77
int orgH
Definition: freerotationfilter.h:75
~FreeRotationContainer()
Definition: freerotationfilter.h:65
QSize newSize
Definition: freerotationfilter.h:79
QColor backgroundColor
Definition: freerotationfilter.h:81
bool antiAlias
Definition: freerotationfilter.h:67
AutoCropTypes
Definition: freerotationfilter.h:47
@ WidestArea
Definition: freerotationfilter.h:49
int autoCrop
Definition: freerotationfilter.h:73
FreeRotationContainer()
Definition: freerotationfilter.h:55
Definition: freerotationfilter.h:87
static QString FilterIdentifier()
Definition: freerotationfilter.h:103
QString filterIdentifier() const override
Definition: freerotationfilter.h:120
static QList< int > SupportedVersions()
Definition: freerotationfilter.h:110
static int CurrentVersion()
Definition: freerotationfilter.h:115
@ Width
Definition: coredbfields.h:87
@ Height
Definition: coredbfields.h:88
Definition: datefolderview.cpp:43