Merge pull request #5814 from Lawrence37/perspective-lines
GUI improvements for perspective correction
This commit is contained in:
@@ -932,6 +932,7 @@ struct LensProfParams {
|
||||
*/
|
||||
struct PerspectiveParams {
|
||||
Glib::ustring method;
|
||||
bool render;
|
||||
double horizontal;
|
||||
double vertical;
|
||||
double camera_crop_factor;
|
||||
@@ -946,6 +947,10 @@ struct PerspectiveParams {
|
||||
double projection_shift_horiz;
|
||||
double projection_shift_vert;
|
||||
double projection_yaw;
|
||||
/** A line is stored as 4 integers in this order: x1, y1, x2, y2 */
|
||||
std::vector<int> control_line_values;
|
||||
/** 0 is vertical, 1 is horizontal, undefined otherwise. */
|
||||
std::vector<int> control_line_types;
|
||||
|
||||
PerspectiveParams();
|
||||
|
||||
|
Reference in New Issue
Block a user