app: port relevant transform tools to GimpGenericTransformTool
Derive GimpUnifiedTransformTool, GimpPerspectiveTool, and GimpHandleTransformTool from GimpGenericTransformTool, eliminating their common logic. Remove gimp_transform_matrix_handles(), which is no longer used.
This commit is contained in:
@ -85,23 +85,6 @@ void gimp_transform_matrix_perspective (GimpMatrix3 *matrix,
|
||||
gdouble t_y3,
|
||||
gdouble t_x4,
|
||||
gdouble t_y4);
|
||||
void gimp_transform_matrix_handles (GimpMatrix3 *matrix,
|
||||
gdouble x1,
|
||||
gdouble y1,
|
||||
gdouble x2,
|
||||
gdouble y2,
|
||||
gdouble x3,
|
||||
gdouble y3,
|
||||
gdouble x4,
|
||||
gdouble y4,
|
||||
gdouble t_x1,
|
||||
gdouble t_y1,
|
||||
gdouble t_x2,
|
||||
gdouble t_y2,
|
||||
gdouble t_x3,
|
||||
gdouble t_y3,
|
||||
gdouble t_x4,
|
||||
gdouble t_y4);
|
||||
gboolean gimp_transform_matrix_generic (GimpMatrix3 *matrix,
|
||||
const GimpVector2 *input_points,
|
||||
const GimpVector2 *output_points);
|
||||
|
||||
Reference in New Issue
Block a user