Commit 77b7161a authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

app/core/gimp-transform-region.[ch] app/core/gimpchannel.c

2007-09-10  Sven Neumann  <sven@gimp.org>

	* app/core/gimp-transform-region.[ch]
	* app/core/gimpchannel.c
	* app/core/gimpdrawable-transform.[ch]
	* app/core/gimpdrawable.c
	* app/core/gimpimage-item-list.[ch]
	* app/core/gimpitem-linked.[ch]
	* app/core/gimpitem.[ch]
	* app/core/gimplayer.c
	* app/paint/gimpperspectiveclone.c
	* app/vectors/gimpvectors.c: removed supersample parameter from
	transform functions and perform it depending on the interpolation
	type (bug #473265).

	* app/tools/gimptransformoptions.[ch]
	* app/tools/gimptransformtool.c: removed Supersample toggle from
	the transform tool options.

	* tools/pdbgen/pdb/drawable_transform.pdb
	* tools/pdbgen/pdb/transform_tools.pdb: document that the
	supersample parameter is unused and improved documentation of the
	recursion-level parameter.

	* app/pdb/transform_tools_cmds.c
	* app/pdb/drawable_transform_cmds.c
	* libgimp/gimpdrawabletransform_pdb.c: regenerated.

svn path=/trunk/; revision=23494
parent 5062ba3e
2007-09-10 Sven Neumann <sven@gimp.org>
* app/core/gimp-transform-region.[ch]
* app/core/gimpchannel.c
* app/core/gimpdrawable-transform.[ch]
* app/core/gimpdrawable.c
* app/core/gimpimage-item-list.[ch]
* app/core/gimpitem-linked.[ch]
* app/core/gimpitem.[ch]
* app/core/gimplayer.c
* app/paint/gimpperspectiveclone.c
* app/vectors/gimpvectors.c: removed supersample parameter from
transform functions and perform it depending on the interpolation
type (bug #473265).
* app/tools/gimptransformoptions.[ch]
* app/tools/gimptransformtool.c: removed Supersample toggle from
the transform tool options.
* tools/pdbgen/pdb/drawable_transform.pdb
* tools/pdbgen/pdb/transform_tools.pdb: document that the
supersample parameter is unused and improved documentation of the
recursion-level parameter.
* app/pdb/transform_tools_cmds.c
* app/pdb/drawable_transform_cmds.c
* libgimp/gimpdrawabletransform_pdb.c: regenerated.
2007-09-10 Sven Neumann <sven@gimp.org> 2007-09-10 Sven Neumann <sven@gimp.org>
* app/tools/gimpperspectiveclonetool.c * app/tools/gimpperspectiveclonetool.c
...@@ -70,7 +70,6 @@ static void gimp_transform_region_linear (TileManager *orig_tiles, ...@@ -70,7 +70,6 @@ static void gimp_transform_region_linear (TileManager *orig_tiles,
gint v2, gint v2,
const GimpMatrix3 *m, const GimpMatrix3 *m,
gint alpha, gint alpha,
gboolean supersample,
gint recursion_level, gint recursion_level,
const guchar *bg_color, const guchar *bg_color,
GimpProgress *progress); GimpProgress *progress);
...@@ -86,7 +85,6 @@ static void gimp_transform_region_cubic (TileManager *orig_tiles, ...@@ -86,7 +85,6 @@ static void gimp_transform_region_cubic (TileManager *orig_tiles,
gint v2, gint v2,
const GimpMatrix3 *m, const GimpMatrix3 *m,
gint alpha, gint alpha,
gboolean supersample,
gint recursion_level, gint recursion_level,
const guchar *bg_color, const guchar *bg_color,
GimpProgress *progress); GimpProgress *progress);
...@@ -102,7 +100,6 @@ static void gimp_transform_region_lanczos (TileManager *orig_tiles, ...@@ -102,7 +100,6 @@ static void gimp_transform_region_lanczos (TileManager *orig_tiles,
gint v2, gint v2,
const GimpMatrix3 *m, const GimpMatrix3 *m,
gint alpha, gint alpha,
gboolean supersample,
gint recursion_level, gint recursion_level,
const guchar *bg_color, const guchar *bg_color,
GimpProgress *progress); GimpProgress *progress);
...@@ -180,7 +177,6 @@ gimp_transform_region (GimpPickable *pickable, ...@@ -180,7 +177,6 @@ gimp_transform_region (GimpPickable *pickable,
gint dest_y2, gint dest_y2,
const GimpMatrix3 *matrix, const GimpMatrix3 *matrix,
GimpInterpolationType interpolation_type, GimpInterpolationType interpolation_type,
gboolean supersample,
gint recursion_level, gint recursion_level,
GimpProgress *progress) GimpProgress *progress)
{ {
...@@ -259,7 +255,7 @@ gimp_transform_region (GimpPickable *pickable, ...@@ -259,7 +255,7 @@ gimp_transform_region (GimpPickable *pickable,
gimp_transform_region_linear (orig_tiles, destPR, gimp_transform_region_linear (orig_tiles, destPR,
dest_x1, dest_y1, dest_x2, dest_y2, dest_x1, dest_y1, dest_x2, dest_y2,
u1, v1, u2, v2, u1, v1, u2, v2,
&m, alpha, supersample, recursion_level, &m, alpha, recursion_level,
bg_color, progress); bg_color, progress);
break; break;
...@@ -267,7 +263,7 @@ gimp_transform_region (GimpPickable *pickable, ...@@ -267,7 +263,7 @@ gimp_transform_region (GimpPickable *pickable,
gimp_transform_region_cubic (orig_tiles, destPR, gimp_transform_region_cubic (orig_tiles, destPR,
dest_x1, dest_y1, dest_x2, dest_y2, dest_x1, dest_y1, dest_x2, dest_y2,
u1, v1, u2, v2, u1, v1, u2, v2,
&m, alpha, supersample, recursion_level, &m, alpha, recursion_level,
bg_color, progress); bg_color, progress);
break; break;
...@@ -275,7 +271,7 @@ gimp_transform_region (GimpPickable *pickable, ...@@ -275,7 +271,7 @@ gimp_transform_region (GimpPickable *pickable,
gimp_transform_region_lanczos (orig_tiles, destPR, gimp_transform_region_lanczos (orig_tiles, destPR,
dest_x1, dest_y1, dest_x2, dest_y2, dest_x1, dest_y1, dest_x2, dest_y2,
u1, v1, u2, v2, u1, v1, u2, v2,
&m, alpha, supersample, recursion_level, &m, alpha, recursion_level,
bg_color, progress); bg_color, progress);
break; break;
} }
...@@ -387,7 +383,6 @@ gimp_transform_region_linear (TileManager *orig_tiles, ...@@ -387,7 +383,6 @@ gimp_transform_region_linear (TileManager *orig_tiles,
gint v2, gint v2,
const GimpMatrix3 *m, const GimpMatrix3 *m,
gint alpha, gint alpha,
gboolean supersample,
gint recursion_level, gint recursion_level,
const guchar *bg_color, const guchar *bg_color,
GimpProgress *progress) GimpProgress *progress)
...@@ -433,8 +428,7 @@ gimp_transform_region_linear (TileManager *orig_tiles, ...@@ -433,8 +428,7 @@ gimp_transform_region_linear (TileManager *orig_tiles,
normalize_coords (5, tu, tv, tw, u, v); normalize_coords (5, tu, tv, tw, u, v);
/* Set the destination pixels */ /* Set the destination pixels */
if (supersample && if (supersample_dtest (u[1], v[1], u[2], v[2],
supersample_dtest (u[1], v[1], u[2], v[2],
u[3], v[3], u[4], v[4])) u[3], v[3], u[4], v[4]))
{ {
sample_adapt (orig_tiles, sample_adapt (orig_tiles,
...@@ -491,7 +485,6 @@ gimp_transform_region_cubic (TileManager *orig_tiles, ...@@ -491,7 +485,6 @@ gimp_transform_region_cubic (TileManager *orig_tiles,
gint v2, gint v2,
const GimpMatrix3 *m, const GimpMatrix3 *m,
gint alpha, gint alpha,
gboolean supersample,
gint recursion_level, gint recursion_level,
const guchar *bg_color, const guchar *bg_color,
GimpProgress *progress) GimpProgress *progress)
...@@ -536,8 +529,7 @@ gimp_transform_region_cubic (TileManager *orig_tiles, ...@@ -536,8 +529,7 @@ gimp_transform_region_cubic (TileManager *orig_tiles,
/* normalize homogeneous coords */ /* normalize homogeneous coords */
normalize_coords (5, tu, tv, tw, u, v); normalize_coords (5, tu, tv, tw, u, v);
if (supersample && if (supersample_dtest (u[1], v[1], u[2], v[2],
supersample_dtest (u[1], v[1], u[2], v[2],
u[3], v[3], u[4], v[4])) u[3], v[3], u[4], v[4]))
{ {
sample_adapt (orig_tiles, sample_adapt (orig_tiles,
...@@ -594,7 +586,6 @@ gimp_transform_region_lanczos (TileManager *orig_tiles, ...@@ -594,7 +586,6 @@ gimp_transform_region_lanczos (TileManager *orig_tiles,
gint v2, gint v2,
const GimpMatrix3 *m, const GimpMatrix3 *m,
gint alpha, gint alpha,
gboolean supersample,
gint recursion_level, gint recursion_level,
const guchar *bg_color, const guchar *bg_color,
GimpProgress *progress) GimpProgress *progress)
...@@ -644,8 +635,7 @@ gimp_transform_region_lanczos (TileManager *orig_tiles, ...@@ -644,8 +635,7 @@ gimp_transform_region_lanczos (TileManager *orig_tiles,
/* normalize homogeneous coords */ /* normalize homogeneous coords */
normalize_coords (5, tu, tv, tw, u, v); normalize_coords (5, tu, tv, tw, u, v);
if (supersample && if (supersample_dtest (u[1], v[1], u[2], v[2],
supersample_dtest (u[1], v[1], u[2], v[2],
u[3], v[3], u[4], v[4])) u[3], v[3], u[4], v[4]))
{ {
sample_adapt (orig_tiles, sample_adapt (orig_tiles,
......
...@@ -30,7 +30,6 @@ void gimp_transform_region (GimpPickable *pickable, ...@@ -30,7 +30,6 @@ void gimp_transform_region (GimpPickable *pickable,
gint dest_y2, gint dest_y2,
const GimpMatrix3 *matrix, const GimpMatrix3 *matrix,
GimpInterpolationType interpolation_type, GimpInterpolationType interpolation_type,
gboolean supersample,
gint recursion_level, gint recursion_level,
GimpProgress *progress); GimpProgress *progress);
......
...@@ -114,7 +114,6 @@ static void gimp_channel_transform (GimpItem *item, ...@@ -114,7 +114,6 @@ static void gimp_channel_transform (GimpItem *item,
const GimpMatrix3 *matrix, const GimpMatrix3 *matrix,
GimpTransformDirection direction, GimpTransformDirection direction,
GimpInterpolationType interpolation_type, GimpInterpolationType interpolation_type,
gboolean supersample,
gint recursion_level, gint recursion_level,
GimpTransformResize clip_result, GimpTransformResize clip_result,
GimpProgress *progress); GimpProgress *progress);
...@@ -654,7 +653,6 @@ gimp_channel_transform (GimpItem *item, ...@@ -654,7 +653,6 @@ gimp_channel_transform (GimpItem *item,
const GimpMatrix3 *matrix, const GimpMatrix3 *matrix,
GimpTransformDirection direction, GimpTransformDirection direction,
GimpInterpolationType interpolation_type, GimpInterpolationType interpolation_type,
gboolean supersample,
gint recursion_level, gint recursion_level,
GimpTransformResize clip_result, GimpTransformResize clip_result,
GimpProgress *progress) GimpProgress *progress)
...@@ -664,8 +662,9 @@ gimp_channel_transform (GimpItem *item, ...@@ -664,8 +662,9 @@ gimp_channel_transform (GimpItem *item,
GIMP_ITEM_CLASS (parent_class)->transform (item, context, matrix, direction, GIMP_ITEM_CLASS (parent_class)->transform (item, context, matrix, direction,
interpolation_type, interpolation_type,
supersample, recursion_level, recursion_level,
clip_result, progress); clip_result,
progress);
} }
static gboolean static gboolean
......
...@@ -74,7 +74,6 @@ gimp_drawable_transform_tiles_affine (GimpDrawable *drawable, ...@@ -74,7 +74,6 @@ gimp_drawable_transform_tiles_affine (GimpDrawable *drawable,
const GimpMatrix3 *matrix, const GimpMatrix3 *matrix,
GimpTransformDirection direction, GimpTransformDirection direction,
GimpInterpolationType interpolation_type, GimpInterpolationType interpolation_type,
gboolean supersample,
gint recursion_level, gint recursion_level,
GimpTransformResize clip_result, GimpTransformResize clip_result,
GimpProgress *progress) GimpProgress *progress)
...@@ -143,7 +142,6 @@ gimp_drawable_transform_tiles_affine (GimpDrawable *drawable, ...@@ -143,7 +142,6 @@ gimp_drawable_transform_tiles_affine (GimpDrawable *drawable,
y2, y2,
&inv, &inv,
interpolation_type, interpolation_type,
supersample,
recursion_level, recursion_level,
progress); progress);
...@@ -537,7 +535,6 @@ gimp_drawable_transform_affine (GimpDrawable *drawable, ...@@ -537,7 +535,6 @@ gimp_drawable_transform_affine (GimpDrawable *drawable,
const GimpMatrix3 *matrix, const GimpMatrix3 *matrix,
GimpTransformDirection direction, GimpTransformDirection direction,
GimpInterpolationType interpolation_type, GimpInterpolationType interpolation_type,
gboolean supersample,
gint recursion_level, gint recursion_level,
GimpTransformResize clip_result, GimpTransformResize clip_result,
GimpProgress *progress) GimpProgress *progress)
...@@ -576,7 +573,6 @@ gimp_drawable_transform_affine (GimpDrawable *drawable, ...@@ -576,7 +573,6 @@ gimp_drawable_transform_affine (GimpDrawable *drawable,
matrix, matrix,
GIMP_TRANSFORM_FORWARD, GIMP_TRANSFORM_FORWARD,
interpolation_type, interpolation_type,
supersample,
recursion_level, recursion_level,
clip_result, clip_result,
progress); progress);
......
...@@ -39,7 +39,6 @@ TileManager * gimp_drawable_transform_tiles_affine (GimpDrawable *draw ...@@ -39,7 +39,6 @@ TileManager * gimp_drawable_transform_tiles_affine (GimpDrawable *draw
const GimpMatrix3 *matrix, const GimpMatrix3 *matrix,
GimpTransformDirection direction, GimpTransformDirection direction,
GimpInterpolationType interpolation_type, GimpInterpolationType interpolation_type,
gboolean supersample,
gint recursion_level, gint recursion_level,
GimpTransformResize clip_result, GimpTransformResize clip_result,
GimpProgress *progress); GimpProgress *progress);
...@@ -63,7 +62,6 @@ gboolean gimp_drawable_transform_affine (GimpDrawable *draw ...@@ -63,7 +62,6 @@ gboolean gimp_drawable_transform_affine (GimpDrawable *draw
const GimpMatrix3 *matrix, const GimpMatrix3 *matrix,
GimpTransformDirection direction, GimpTransformDirection direction,
GimpInterpolationType interpolation_type, GimpInterpolationType interpolation_type,
gboolean supersample,
gint recursion_level, gint recursion_level,
GimpTransformResize clip_result, GimpTransformResize clip_result,
GimpProgress *progress); GimpProgress *progress);
......
...@@ -110,7 +110,6 @@ static void gimp_drawable_transform (GimpItem *item, ...@@ -110,7 +110,6 @@ static void gimp_drawable_transform (GimpItem *item,
const GimpMatrix3 *matrix, const GimpMatrix3 *matrix,
GimpTransformDirection direction, GimpTransformDirection direction,
GimpInterpolationType interpolation_type, GimpInterpolationType interpolation_type,
gboolean supersample,
gint recursion_level, gint recursion_level,
GimpTransformResize clip_result, GimpTransformResize clip_result,
GimpProgress *progress); GimpProgress *progress);
...@@ -556,7 +555,6 @@ gimp_drawable_transform (GimpItem *item, ...@@ -556,7 +555,6 @@ gimp_drawable_transform (GimpItem *item,
const GimpMatrix3 *matrix, const GimpMatrix3 *matrix,
GimpTransformDirection direction, GimpTransformDirection direction,
GimpInterpolationType interpolation_type, GimpInterpolationType interpolation_type,
gboolean supersample,
gint recursion_level, gint recursion_level,
GimpTransformResize clip_result, GimpTransformResize clip_result,
GimpProgress *progress) GimpProgress *progress)
...@@ -575,7 +573,7 @@ gimp_drawable_transform (GimpItem *item, ...@@ -575,7 +573,7 @@ gimp_drawable_transform (GimpItem *item,
drawable->tiles, drawable->tiles,
matrix, direction, matrix, direction,
interpolation_type, interpolation_type,
supersample, recursion_level, recursion_level,
clip_result, clip_result,
progress); progress);
......
...@@ -121,7 +121,6 @@ gimp_image_item_list_transform (GimpImage *image, ...@@ -121,7 +121,6 @@ gimp_image_item_list_transform (GimpImage *image,
const GimpMatrix3 *matrix, const GimpMatrix3 *matrix,
GimpTransformDirection direction, GimpTransformDirection direction,
GimpInterpolationType interpolation_type, GimpInterpolationType interpolation_type,
gboolean supersample,
gint recursion_level, gint recursion_level,
GimpTransformResize clip_result, GimpTransformResize clip_result,
GimpProgress *progress) GimpProgress *progress)
...@@ -140,8 +139,7 @@ gimp_image_item_list_transform (GimpImage *image, ...@@ -140,8 +139,7 @@ gimp_image_item_list_transform (GimpImage *image,
for (l = list; l; l = g_list_next (l)) for (l = list; l; l = g_list_next (l))
gimp_item_transform (GIMP_ITEM (l->data), context, gimp_item_transform (GIMP_ITEM (l->data), context,
matrix, direction, matrix, direction,
interpolation_type, interpolation_type, recursion_level,
supersample, recursion_level,
clip_result, progress); clip_result, progress);
gimp_image_undo_group_end (image); gimp_image_undo_group_end (image);
......
...@@ -44,7 +44,6 @@ void gimp_image_item_list_transform (GimpImage *image, ...@@ -44,7 +44,6 @@ void gimp_image_item_list_transform (GimpImage *image,
const GimpMatrix3 *matrix, const GimpMatrix3 *matrix,
GimpTransformDirection direction, GimpTransformDirection direction,
GimpInterpolationType interpolation_type, GimpInterpolationType interpolation_type,
gboolean supersample,
gint recursion_level, gint recursion_level,
GimpTransformResize clip_result, GimpTransformResize clip_result,
GimpProgress *progress); GimpProgress *progress);
......
...@@ -120,7 +120,6 @@ gimp_item_linked_transform (GimpItem *item, ...@@ -120,7 +120,6 @@ gimp_item_linked_transform (GimpItem *item,
const GimpMatrix3 *matrix, const GimpMatrix3 *matrix,
GimpTransformDirection direction, GimpTransformDirection direction,
GimpInterpolationType interpolation_type, GimpInterpolationType interpolation_type,
gboolean supersample,
gint recursion_level, gint recursion_level,
GimpTransformResize clip_result, GimpTransformResize clip_result,
GimpProgress *progress) GimpProgress *progress)
...@@ -139,8 +138,7 @@ gimp_item_linked_transform (GimpItem *item, ...@@ -139,8 +138,7 @@ gimp_item_linked_transform (GimpItem *item,
gimp_image_item_list_transform (gimp_item_get_image (item), list, context, gimp_image_item_list_transform (gimp_item_get_image (item), list, context,
matrix, direction, matrix, direction,
interpolation_type, interpolation_type, recursion_level,
supersample, recursion_level,
clip_result, progress); clip_result, progress);
g_list_free (list); g_list_free (list);
......
...@@ -40,7 +40,6 @@ void gimp_item_linked_transform (GimpItem *item, ...@@ -40,7 +40,6 @@ void gimp_item_linked_transform (GimpItem *item,
const GimpMatrix3 *matrix, const GimpMatrix3 *matrix,
GimpTransformDirection direction, GimpTransformDirection direction,
GimpInterpolationType interpolation_type, GimpInterpolationType interpolation_type,
gboolean supersample,
gint recursion_level, gint recursion_level,
GimpTransformResize clip_result, GimpTransformResize clip_result,
GimpProgress *progress); GimpProgress *progress);
......
...@@ -975,7 +975,6 @@ gimp_item_transform (GimpItem *item, ...@@ -975,7 +975,6 @@ gimp_item_transform (GimpItem *item,
const GimpMatrix3 *matrix, const GimpMatrix3 *matrix,
GimpTransformDirection direction, GimpTransformDirection direction,
GimpInterpolationType interpolation, GimpInterpolationType interpolation,
gboolean supersample,
gint recursion_level, gint recursion_level,
GimpTransformResize clip_result, GimpTransformResize clip_result,
GimpProgress *progress) GimpProgress *progress)
...@@ -996,8 +995,7 @@ gimp_item_transform (GimpItem *item, ...@@ -996,8 +995,7 @@ gimp_item_transform (GimpItem *item,
item_class->transform_desc); item_class->transform_desc);
item_class->transform (item, context, matrix, direction, interpolation, item_class->transform (item, context, matrix, direction, interpolation,
supersample, recursion_level, recursion_level, clip_result, progress);
clip_result, progress);
gimp_image_undo_group_end (image); gimp_image_undo_group_end (image);
} }
......
...@@ -105,7 +105,6 @@ struct _GimpItemClass ...@@ -105,7 +105,6 @@ struct _GimpItemClass
const GimpMatrix3 *matrix, const GimpMatrix3 *matrix,
GimpTransformDirection direction, GimpTransformDirection direction,
GimpInterpolationType interpolation_type, GimpInterpolationType interpolation_type,
gboolean supersample,
gint recursion_level, gint recursion_level,
GimpTransformResize clip_result, GimpTransformResize clip_result,
GimpProgress *progress); GimpProgress *progress);
...@@ -207,7 +206,6 @@ void gimp_item_transform (GimpItem *item, ...@@ -207,7 +206,6 @@ void gimp_item_transform (GimpItem *item,
const GimpMatrix3 *matrix, const GimpMatrix3 *matrix,
GimpTransformDirection direction, GimpTransformDirection direction,
GimpInterpolationType interpolation_type, GimpInterpolationType interpolation_type,
gboolean supersample,
gint recursion_level, gint recursion_level,
GimpTransformResize clip_result, GimpTransformResize clip_result,
GimpProgress *progress); GimpProgress *progress);
......
...@@ -133,7 +133,6 @@ static void gimp_layer_transform (GimpItem *item, ...@@ -133,7 +133,6 @@ static void gimp_layer_transform (GimpItem *item,
const GimpMatrix3 *matrix, const GimpMatrix3 *matrix,
GimpTransformDirection direction, GimpTransformDirection direction,
GimpInterpolationType interpolation_type, GimpInterpolationType interpolation_type,
gboolean supersample,
gint recursion_level, gint recursion_level,
GimpTransformResize clip_result, GimpTransformResize clip_result,
GimpProgress *progress); GimpProgress *progress);
...@@ -776,7 +775,6 @@ gimp_layer_transform (GimpItem *item, ...@@ -776,7 +775,6 @@ gimp_layer_transform (GimpItem *item,
const GimpMatrix3 *matrix, const GimpMatrix3 *matrix,
GimpTransformDirection direction, GimpTransformDirection direction,
GimpInterpolationType interpolation_type, GimpInterpolationType interpolation_type,
gboolean supersample,
gint recursion_level, gint recursion_level,
GimpTransformResize clip_result, GimpTransformResize clip_result,
GimpProgress *progress) GimpProgress *progress)
...@@ -792,14 +790,14 @@ gimp_layer_transform (GimpItem *item, ...@@ -792,14 +790,14 @@ gimp_layer_transform (GimpItem *item,
GIMP_ITEM_CLASS (parent_class)->transform (item, context, matrix, direction, GIMP_ITEM_CLASS (parent_class)->transform (item, context, matrix, direction,
interpolation_type, interpolation_type,
supersample, recursion_level, recursion_level,
clip_result, progress); clip_result,
progress);
if (layer->mask) if (layer->mask)
gimp_item_transform (GIMP_ITEM (layer->mask), context, gimp_item_transform (GIMP_ITEM (layer->mask), context,
matrix, direction, matrix, direction,
interpolation_type, interpolation_type, recursion_level,
supersample, recursion_level,
clip_result, progress); clip_result, progress);
} }
......
...@@ -399,8 +399,7 @@ gimp_perspective_clone_get_source (GimpSourceCore *source_core, ...@@ -399,8 +399,7 @@ gimp_perspective_clone_get_source (GimpSourceCore *source_core,
&destPR, &destPR,
x1d, y1d, x2d, y2d, x1d, y1d, x2d, y2d,
&matrix, &matrix,
GIMP_INTERPOLATION_LINEAR, GIMP_INTERPOLATION_LINEAR, 0, NULL);
FALSE, 0, NULL);
tile_manager_unref (orig_tiles); tile_manager_unref (orig_tiles);
......
...@@ -146,8 +146,7 @@ drawable_transform_flip_invoker (GimpProcedure *procedure, ...@@ -146,8 +146,7 @@ drawable_transform_flip_invoker (GimpProcedure *procedure,
/* Transform the selection */ /* Transform the selection */
success = gimp_drawable_transform_affine (drawable, context, success = gimp_drawable_transform_affine (drawable, context,
&matrix, transform_direction, &matrix, transform_direction,
interpolation, supersample, interpolation, recursion_level,
recursion_level,
clip_result, progress); clip_result, progress);
if (progress) if (progress)
...@@ -220,8 +219,7 @@ drawable_transform_flip_default_invoker (GimpProcedure *procedure, ...@@ -220,8 +219,7 @@ drawable_transform_flip_default_invoker (GimpProcedure *procedure,
/* Transform the selection */ /* Transform the selection */
success = gimp_drawable_transform_affine (drawable, context, success = gimp_drawable_transform_affine (drawable, context,
&matrix, GIMP_TRANSFORM_FORWARD, &matrix, GIMP_TRANSFORM_FORWARD,
interpolation_type, interpolation_type, 3,
interpolate, 3,
clip_result, progress); clip_result, progress);
if (progress) if (progress)
...@@ -306,8 +304,7 @@ drawable_transform_perspective_invoker (GimpProcedure *procedure, ...@@ -306,8 +304,7 @@ drawable_transform_perspective_invoker (GimpProcedure *procedure,
/* Transform the selection */ /* Transform the selection */
success = gimp_drawable_transform_affine (drawable, context, success = gimp_drawable_transform_affine (drawable, context,
&matrix, transform_direction, &matrix, transform_direction,
interpolation, supersample, interpolation, recursion_level,
recursion_level,
clip_result, progress); clip_result, progress);
if (progress) if (progress)
...@@ -390,8 +387,7 @@ drawable_transform_perspective_default_invoker (GimpProcedure *procedure, ...@@ -390,8 +387,7 @@ drawable_transform_perspective_default_invoker (GimpProcedure *procedure,
/* Transform the selection */ /* Transform the selection */
success = gimp_drawable_transform_affine (drawable, context, success = gimp_drawable_transform_affine (drawable, context,
&matrix, GIMP_TRANSFORM_FORWARD, &matrix, GIMP_TRANSFORM_FORWARD,
interpolation_type, interpolation_type, 3,
interpolate, 3,
clip_result, progress); clip_result, progress);
if (progress) if (progress)
...@@ -517,8 +513,7 @@ drawable_transform_rotate_invoker (GimpProcedure *procedure, ...@@ -517,8 +513,7 @@ drawable_transform_rotate_invoker (GimpProcedure *procedure,
/* Transform the selection */ /* Transform the selection */
success = gimp_drawable_transform_affine (drawable, context, success = gimp_drawable_transform_affine (drawable, context,
&matrix, transform_direction, &matrix, transform_direction,
interpolation, supersample, interpolation, recursion_level,
recursion_level,
clip_result, progress); clip_result, progress);
if (progress) if (progress)
...@@ -595,8 +590,7 @@ drawable_transform_rotate_default_invoker (GimpProcedure *procedure, ...@@ -595,8 +590,7 @@ drawable_transform_rotate_default_invoker (GimpProcedure *procedure,
/* Transform the selection */ /* Transform the selection */
success = gimp_drawable_transform_affine (drawable, context, success = gimp_drawable_transform_affine (drawable, context,
&matrix, GIMP_TRANSFORM_FORWARD, &matrix, GIMP_TRANSFORM_FORWARD,
interpolation_type, interpolation_type, 3,
interpolate, 3,
clip_result, progress); clip_result, progress);
if (progress) if (progress)
...@@ -672,8 +666,7 @@ drawable_transform_scale_invoker (GimpProcedure *procedure, ...@@ -672,8 +666,7 @@ drawable_transform_scale_invoker (GimpProcedure *procedure,
/* Transform the selection */ /* Transform the selection */
success = gimp_drawable_transform_affine (drawable, context, success = gimp_drawable_transform_affine (drawable, context,
&matrix, transform_direction, &matrix, transform_direction,
interpolation, supersample, interpolation, recursion_level,
recursion_level,
clip_result, progress); clip_result, progress);
if (progress) if (progress)
...@@ -747,8 +740,7 @@ drawable_transform_scale_default_invoker (GimpProcedure *procedure, ...@@ -747,8 +740,7 @@ drawable_transform_scale_default_invoker (GimpProcedure *procedure,
/* Transform the selection */ /* Transform the selection */
success = gimp_drawable_transform_affine (drawable, context, success = gimp_drawable_transform_affine (drawable, context,
&matrix, GIMP_TRANSFORM_FORWARD, &matrix, GIMP_TRANSFORM_FORWARD,
interpolation_type, interpolation_type, 3,
interpolate, 3,
clip_result, progress); clip_result, progress);
if (progress) if (progress)
...@@ -820,8 +812,7 @@ drawable_transform_shear_invoker (GimpProcedure *procedure, ...@@ -820,8 +812,7 @@ drawable_transform_shear_invoker (GimpProcedure *procedure,
/* Transform the selection */ /* Transform the selection */
success = gimp_drawable_transform_affine (drawable, context, success = gimp_drawable_transform_affine (drawable, context,
&matrix, transform_direction, &matrix, transform_direction,
interpolation, supersample, interpolation, recursion_level,
recursion_level,
clip_result, progress); clip_result, progress);
if (progress) if (progress)
...@@ -891,8 +882,7 @@ drawable_transform_shear_default_invoker (GimpProcedure *procedure, ...@@ -891,8 +882,7 @@ drawable_transform_shear_default_invoker (GimpProcedure *procedure,
/* Transform the selection */ /* Transform the selection */
success = gimp_drawable_transform_affine (drawable, context, success = gimp_drawable_transform_affine (drawable, context,
&matrix, GIMP_TRANSFORM_FORWARD, &matrix, GIMP_TRANSFORM_FORWARD,
interpolation_type, interpolation_type, 3,
interpolate, 3,
clip_result, progress); clip_result, progress);
if (progress) if (progress)
...@@ -975,8 +965,7 @@ drawable_transform_2d_invoker (GimpProcedure *procedure, ...@@ -975,8 +965,7 @@ drawable_transform_2d_invoker (GimpProcedure *procedure,
/* Transform the selection */ /* Transform the selection */
success = gimp_drawable_transform_affine (drawable, context, success = gimp_drawable_transform_affine (drawable, context,