@@ -929,9 +929,12 @@ struct CoarseTransformParams {
|
||||
struct CommonTransformParams {
|
||||
Glib::ustring method;
|
||||
bool autofill;
|
||||
double scale;
|
||||
|
||||
CommonTransformParams();
|
||||
|
||||
double getScale() const;
|
||||
|
||||
bool operator ==(const CommonTransformParams& other) const;
|
||||
bool operator !=(const CommonTransformParams& other) const;
|
||||
};
|
||||
@@ -952,7 +955,10 @@ struct RotateParams {
|
||||
* Parameters of the distortion correction
|
||||
*/
|
||||
struct DistortionParams {
|
||||
double amount;
|
||||
static constexpr double DEFAULT_FOCAL_LENGTH = 12;
|
||||
double amount = 0.0;
|
||||
bool defish = false;
|
||||
double focal_length = DEFAULT_FOCAL_LENGTH;
|
||||
|
||||
DistortionParams();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user