Commit e126ae4f authored by Øyvind Kolås's avatar Øyvind Kolås

%s/GeglRect/GeglRectangle/g

	%s/gegl_rect_/gegl_rectangle_/g

	* bin/editor.c (cb_fit), (cb_fit_on_screen), (cb_shrinkwrap):
	* bin/export.c (set_to_defined), (get_input_rect),
	(button_input_clicked), (button_view_clicked),
	(button_render_clicked), (gegl_buffer_export_png):
	* bin/gegl-projection.c (gegl_projection_class_init),
	(task_monitor), (node_invalidated), (gegl_projection_forget_queue),
	(gegl_projection_forget), (gegl_projection_update_rect),
	(task_render):
	* bin/gegl-projection.h:
	* bin/gegl-view.c (computed_event), (expose_event),
	(gegl_view_repaint):
	* codegen/test_files/gegl-add-op.gil:
	* codegen/test_files/gegl-composite-op.gil:
	* codegen/test_files/gegl-composite-premult-op.gil:
	* codegen/test_files/gegl-dark-op.gil:
	* codegen/test_files/gegl-diff-op.gil:
	* codegen/test_files/gegl-fill-op.gil:
	* codegen/test_files/gegl-light-op.gil:
	* codegen/test_files/gegl-max-op.gil:
	* codegen/test_files/gegl-min-op.gil:
	* codegen/test_files/gegl-mult-op.gil:
	* codegen/test_files/gegl-premult-op.gil:
	* codegen/test_files/gegl-print-op.gil:
	* codegen/test_files/gegl-screen-op.gil:
	* codegen/test_files/gegl-subtract-op.gil:
	* codegen/test_files/gegl-unpremult-op.gil:
	* docs/gallery/clones.xml:
	* docs/reference/gegl/gegl-sections.txt:
	* docs/reference/gegl/tmpl/gegl-types.sgml:
	* gegl/buffer/gegl-buffer.c (gegl_buffer_constructor),
	(gegl_buffer_set), (gegl_buffer_get_scaled), (gegl_buffer_get):
	* gegl/buffer/gegl-buffer.h:
	* gegl/buffer/gegl-region-generic.c (gegl_region_rectangle),
	(gegl_region_get_clipbox), (gegl_region_get_rectangles),
	(gegl_region_union_with_rect), (gegl_region_rect_in):
	* gegl/buffer/gegl-region.h:
	* gegl/gegl-chant.h:
	* gegl/gegl-eval-mgr.c (gegl_eval_mgr_init), (gegl_eval_mgr_apply):
	* gegl/gegl-eval-mgr.h:
	* gegl/gegl-graph.c (source_invalidated):
	* gegl/gegl-have-visitor.c (visit_node):
	* gegl/gegl-node-dynamic.c:
	* gegl/gegl-node-dynamic.h:
	* gegl/gegl-node.c (gegl_node_class_init), (source_invalidated),
	(gegl_node_apply_roi), (gegl_node_blit), (gegl_node_apply),
	(property_changed), (gegl_node_process):
	* gegl/gegl-node.h:
	* gegl/gegl-operation-composer.c (get_defined_region),
	(calc_source_regions):
	* gegl/gegl-operation-filter.c (get_defined_region),
	(calc_source_regions):
	* gegl/gegl-operation-point-composer.c (process_inner):
	* gegl/gegl-operation-point-filter.c (process_inner):
	* gegl/gegl-operation-sink.c (get_defined_region),
	(calc_source_regions):
	* gegl/gegl-operation-source.c (get_defined_region):
	* gegl/gegl-operation.c (gegl_operation_get_defined_region),
	(gegl_operation_get_affected_region),
	(gegl_operation_set_source_region), (get_defined_region),
	(get_affected_region):
	* gegl/gegl-operation.h:
	* gegl/gegl-types.h:
	* gegl/gegl-utils.c (gegl_rect_set), (gegl_rect_bounding_box),
	(gegl_rect_intersect), (gegl_rect_copy), (gegl_rect_contains),
	(gegl_rect_equal), (gegl_rect_equal_coords), (gegl_rect_dup),
	(gegl_rect_get_type):
	* gegl/gegl-utils.h:
	* gegl/gegl.h:
	* operations/blur/box-blur.c (process), (get_defined_region),
	(get_source_rect), (calc_source_regions), (get_affected_region):
	* operations/blur/gaussian-blur.c (process), (get_defined_region),
	(get_source_rect), (get_affected_region), (calc_source_regions):
	* operations/color/stretch-contrast.c (process):
	* operations/core/buffer.c (get_defined_region):
	* operations/core/crop.c (get_defined_region),
	(get_affected_region):
	* operations/core/shift.c (get_defined_region),
	(get_affected_region), (calc_source_regions):
	* operations/display/display.c (process):
	* operations/file-io/exr-load.cpp:
	* operations/file-io/jpg-load.c (get_defined_region),
	(gegl_buffer_import_jpg):
	* operations/file-io/magick-load.c (get_defined_region):
	* operations/file-io/pixbuf.c (get_defined_region):
	* operations/file-io/png-load.c (get_defined_region):
	* operations/file-io/png-save.c (process),
	(gegl_buffer_export_png):
	* operations/file-io/raw-load.c (get_defined_region):
	* operations/file-io/svg-load.c (get_defined_region),
	(gegl_buffer_import_svg):
	* operations/generated/porter-duff.rb:
	* operations/render/FractalExplorer.c (process),
	(get_defined_region):
	* operations/render/checkerboard.c (process), (get_defined_region):
	* operations/render/color.c (process), (get_defined_region):
	* operations/render/noise.c (process), (get_defined_region):
	* operations/render/text.c (process), (get_defined_region):
	* operations/transform/affine.c (bounding_box),
	(get_defined_region), (calc_source_regions), (get_affected_region),
	(process):
	* operations/workshop/demosaic-simple.c (process),
	(get_defined_region), (get_source_rect), (calc_source_regions),
	(get_affected_region):
	* operations/workshop/gtk-display.c (process):
	* operations/workshop/mandelbrot.c (process), (get_defined_region):
	* operations/workshop/rawbayer-load.c (get_defined_region):
	* opgen/Gegl/PointOp.pm:
	* tests/filltest-float.c (test_fill_apply_roi):
	* tests/filltest-uint8.c (test_fill_apply_roi):
parent 6757ad47
2006-12-13 Øyvind Kolås <pippin@gimp.org>
%s/GeglRect/GeglRectangle/g
%s/gegl_rect_/gegl_rectangle_/g
* bin/editor.c (cb_fit), (cb_fit_on_screen), (cb_shrinkwrap):
* bin/export.c (set_to_defined), (get_input_rect),
(button_input_clicked), (button_view_clicked),
(button_render_clicked), (gegl_buffer_export_png):
* bin/gegl-projection.c (gegl_projection_class_init),
(task_monitor), (node_invalidated), (gegl_projection_forget_queue),
(gegl_projection_forget), (gegl_projection_update_rect),
(task_render):
* bin/gegl-projection.h:
* bin/gegl-view.c (computed_event), (expose_event),
(gegl_view_repaint):
* codegen/test_files/gegl-add-op.gil:
* codegen/test_files/gegl-composite-op.gil:
* codegen/test_files/gegl-composite-premult-op.gil:
* codegen/test_files/gegl-dark-op.gil:
* codegen/test_files/gegl-diff-op.gil:
* codegen/test_files/gegl-fill-op.gil:
* codegen/test_files/gegl-light-op.gil:
* codegen/test_files/gegl-max-op.gil:
* codegen/test_files/gegl-min-op.gil:
* codegen/test_files/gegl-mult-op.gil:
* codegen/test_files/gegl-premult-op.gil:
* codegen/test_files/gegl-print-op.gil:
* codegen/test_files/gegl-screen-op.gil:
* codegen/test_files/gegl-subtract-op.gil:
* codegen/test_files/gegl-unpremult-op.gil:
* docs/gallery/clones.xml:
* docs/reference/gegl/gegl-sections.txt:
* docs/reference/gegl/tmpl/gegl-types.sgml:
* gegl/buffer/gegl-buffer.c (gegl_buffer_constructor),
(gegl_buffer_set), (gegl_buffer_get_scaled), (gegl_buffer_get):
* gegl/buffer/gegl-buffer.h:
* gegl/buffer/gegl-region-generic.c (gegl_region_rectangle),
(gegl_region_get_clipbox), (gegl_region_get_rectangles),
(gegl_region_union_with_rect), (gegl_region_rect_in):
* gegl/buffer/gegl-region.h:
* gegl/gegl-chant.h:
* gegl/gegl-eval-mgr.c (gegl_eval_mgr_init), (gegl_eval_mgr_apply):
* gegl/gegl-eval-mgr.h:
* gegl/gegl-graph.c (source_invalidated):
* gegl/gegl-have-visitor.c (visit_node):
* gegl/gegl-node-dynamic.c:
* gegl/gegl-node-dynamic.h:
* gegl/gegl-node.c (gegl_node_class_init), (source_invalidated),
(gegl_node_apply_roi), (gegl_node_blit), (gegl_node_apply),
(property_changed), (gegl_node_process):
* gegl/gegl-node.h:
* gegl/gegl-operation-composer.c (get_defined_region),
(calc_source_regions):
* gegl/gegl-operation-filter.c (get_defined_region),
(calc_source_regions):
* gegl/gegl-operation-point-composer.c (process_inner):
* gegl/gegl-operation-point-filter.c (process_inner):
* gegl/gegl-operation-sink.c (get_defined_region),
(calc_source_regions):
* gegl/gegl-operation-source.c (get_defined_region):
* gegl/gegl-operation.c (gegl_operation_get_defined_region),
(gegl_operation_get_affected_region),
(gegl_operation_set_source_region), (get_defined_region),
(get_affected_region):
* gegl/gegl-operation.h:
* gegl/gegl-types.h:
* gegl/gegl-utils.c (gegl_rect_set), (gegl_rect_bounding_box),
(gegl_rect_intersect), (gegl_rect_copy), (gegl_rect_contains),
(gegl_rect_equal), (gegl_rect_equal_coords), (gegl_rect_dup),
(gegl_rect_get_type):
* gegl/gegl-utils.h:
* gegl/gegl.h:
* operations/blur/box-blur.c (process), (get_defined_region),
(get_source_rect), (calc_source_regions), (get_affected_region):
* operations/blur/gaussian-blur.c (process), (get_defined_region),
(get_source_rect), (get_affected_region), (calc_source_regions):
* operations/color/stretch-contrast.c (process):
* operations/core/buffer.c (get_defined_region):
* operations/core/crop.c (get_defined_region),
(get_affected_region):
* operations/core/shift.c (get_defined_region),
(get_affected_region), (calc_source_regions):
* operations/display/display.c (process):
* operations/file-io/exr-load.cpp:
* operations/file-io/jpg-load.c (get_defined_region),
(gegl_buffer_import_jpg):
* operations/file-io/magick-load.c (get_defined_region):
* operations/file-io/pixbuf.c (get_defined_region):
* operations/file-io/png-load.c (get_defined_region):
* operations/file-io/png-save.c (process),
(gegl_buffer_export_png):
* operations/file-io/raw-load.c (get_defined_region):
* operations/file-io/svg-load.c (get_defined_region),
(gegl_buffer_import_svg):
* operations/generated/porter-duff.rb:
* operations/render/FractalExplorer.c (process),
(get_defined_region):
* operations/render/checkerboard.c (process), (get_defined_region):
* operations/render/color.c (process), (get_defined_region):
* operations/render/noise.c (process), (get_defined_region):
* operations/render/text.c (process), (get_defined_region):
* operations/transform/affine.c (bounding_box),
(get_defined_region), (calc_source_regions), (get_affected_region),
(process):
* operations/workshop/demosaic-simple.c (process),
(get_defined_region), (get_source_rect), (calc_source_regions),
(get_affected_region):
* operations/workshop/gtk-display.c (process):
* operations/workshop/mandelbrot.c (process), (get_defined_region):
* operations/workshop/rawbayer-load.c (get_defined_region):
* opgen/Gegl/PointOp.pm:
* tests/filltest-float.c (test_fill_apply_roi):
* tests/filltest-uint8.c (test_fill_apply_roi):
2006-12-13 Øyvind Kolås <pippin@gimp.org>
* bin/gegl-options.c: reindented and changed wording of help.
......
......@@ -741,13 +741,13 @@ static void cb_tree_visible (GtkAction *action, gpointer userdata)
static void cb_fit (GtkAction *action)
{
GeglRect defined = gegl_node_get_bounding_box (editor.gegl);
gint width;
gint height;
gint x,y;
gint i;
gdouble hscale;
gdouble vscale;
GeglRectangle defined = gegl_node_get_bounding_box (editor.gegl);
gint width;
gint height;
gint x, y;
gint i;
gdouble hscale;
gdouble vscale;
gtk_window_get_size (GTK_WINDOW (editor.window), &width, &height);
......@@ -789,7 +789,7 @@ static void cb_fit (GtkAction *action)
static void cb_fit_on_screen (GtkAction *action)
{
GeglRect defined = gegl_node_get_bounding_box (editor.gegl);
GeglRectangle defined = gegl_node_get_bounding_box (editor.gegl);
/*g_warning ("shrink wrap %i,%i %ix%i", defined.x, defined.y, defined.w, defined.h);*/
g_object_set (editor.drawing_area, "x", defined.x, "y", defined.y, NULL);
......@@ -814,7 +814,7 @@ static void cb_fit_on_screen (GtkAction *action)
static void cb_shrinkwrap (GtkAction *action)
{
GeglRect defined = gegl_node_get_bounding_box (editor.gegl);
GeglRectangle defined = gegl_node_get_bounding_box (editor.gegl);
/*g_warning ("shrink wrap %i,%i %ix%i", defined.x, defined.y, defined.w, defined.h);*/
gint i;
......
......@@ -4,16 +4,16 @@
#include <png.h>
static gint
gegl_buffer_export_png (GeglBuffer *gegl_buffer,
GeglRect *rect,
const gchar *path);
gegl_buffer_export_png (GeglBuffer *gegl_buffer,
GeglRectangle *rect,
const gchar *path);
#include <stdio.h>
static void set_to_defined (GtkWidget *export)
{
GeglRect rect;
GeglRectangle rect;
GtkEntry *x0 = g_object_get_data (G_OBJECT (export), "x0");
GtkEntry *y0 = g_object_get_data (G_OBJECT (export), "y0");
GtkEntry *width = g_object_get_data (G_OBJECT (export), "width");
......@@ -38,7 +38,7 @@ static void button_defined_clicked (GtkButton *button,
set_to_defined (GTK_WIDGET (user_data));
}
static GeglRect get_input_rect (void)
static GeglRectangle get_input_rect (void)
{
GeglNode *iter = gegl_graph_output (editor.gegl, "output");
gegl_node_get_bounding_box (editor.gegl); /* to trigger defined setting for all */
......@@ -53,7 +53,7 @@ static void button_input_clicked (GtkButton *button,
gpointer user_data)
{
GtkWidget *export = GTK_WIDGET (user_data);
GeglRect rect={42,42,42,42};
GeglRectangle rect={42,42,42,42};
GtkEntry *x0 = g_object_get_data (G_OBJECT (export), "x0");
GtkEntry *y0 = g_object_get_data (G_OBJECT (export), "y0");
GtkEntry *width = g_object_get_data (G_OBJECT (export), "width");
......@@ -74,12 +74,12 @@ static void button_input_clicked (GtkButton *button,
static void button_view_clicked (GtkButton *button,
gpointer user_data)
{
GtkWidget *export = GTK_WIDGET (user_data);
GeglRect rect={23,23,42,42};
GtkEntry *x0 = g_object_get_data (G_OBJECT (export), "x0");
GtkEntry *y0 = g_object_get_data (G_OBJECT (export), "y0");
GtkEntry *width = g_object_get_data (G_OBJECT (export), "width");
GtkEntry *height = g_object_get_data (G_OBJECT (export), "height");
GtkWidget *export = GTK_WIDGET (user_data);
GeglRectangle rect = {23,23,42,42};
GtkEntry *x0 = g_object_get_data (G_OBJECT (export), "x0");
GtkEntry *y0 = g_object_get_data (G_OBJECT (export), "y0");
GtkEntry *width = g_object_get_data (G_OBJECT (export), "width");
GtkEntry *height = g_object_get_data (G_OBJECT (export), "height");
gchar buf[128];
g_object_get (G_OBJECT (editor.drawing_area), "x", &rect.x, "y" ,&rect.y, NULL);
......@@ -100,7 +100,7 @@ static void button_render_clicked (GtkButton *button,
gpointer user_data)
{
GeglProjection *projection;
GeglRect rect;
GeglRectangle rect;
GtkWidget *export = GTK_WIDGET (user_data);
GtkEntry *x0 = g_object_get_data (G_OBJECT (export), "x0");
GtkEntry *y0 = g_object_get_data (G_OBJECT (export), "y0");
......@@ -244,9 +244,9 @@ void export_window (void)
}
static gint
gegl_buffer_export_png (GeglBuffer *gegl_buffer,
GeglRect *rect,
const gchar *path)
gegl_buffer_export_png (GeglBuffer *gegl_buffer,
GeglRectangle *rect,
const gchar *path)
{
gint row_stride = rect->w * 4;
FILE *fp;
......@@ -323,7 +323,7 @@ gegl_buffer_export_png (GeglBuffer *gegl_buffer,
for (i=0; i< rect->h; i++)
{
GeglRect line = {rect->x, rect->y + i, rect->w, 1};
GeglRectangle line = {rect->x, rect->y + i, rect->w, 1};
gegl_buffer_get (gegl_buffer, &line, pixels, babl_format (format_string), 1.0);
png_write_rows (png, &pixels, 1);
}
......
......@@ -141,7 +141,7 @@ gegl_projection_class_init (GeglProjectionClass * klass)
g_cclosure_marshal_VOID__BOXED,
G_TYPE_NONE /* return type */,
1 /* n_params */,
GEGL_TYPE_RECT /* param_types */);
GEGL_TYPE_RECTANGLE /* param_types */);
projection_signals[INVALIDATED] =
g_signal_new ("invalidated", G_TYPE_FROM_CLASS (klass),
......@@ -152,7 +152,7 @@ gegl_projection_class_init (GeglProjectionClass * klass)
g_cclosure_marshal_VOID__BOXED,
G_TYPE_NONE /* return type */,
1 /* n_params */,
GEGL_TYPE_RECT /* param_types */);
GEGL_TYPE_RECTANGLE /* param_types */);
}
......@@ -190,7 +190,7 @@ static gboolean task_monitor (gpointer foo)
!projection->dirty_rects &&
projection->render_id == 0)
{
GeglRect *rectangles;
GeglRectangle *rectangles;
gint n_rectangles;
gint i;
......@@ -198,13 +198,13 @@ static gboolean task_monitor (gpointer foo)
for (i=0; i<n_rectangles && i<1; i++)
{
GeglRect roi = *((GeglRect*)&rectangles[i]);
GeglRect *dr;
GeglRectangle roi = *((GeglRectangle*)&rectangles[i]);
GeglRectangle *dr;
GeglRegion *tr = gegl_region_rectangle ((void*)&roi);
gegl_region_subtract (projection->queued_region, tr);
gegl_region_destroy (tr);
dr = g_malloc(sizeof (GeglRect));
dr = g_malloc(sizeof (GeglRectangle));
*dr = roi;
projection->dirty_rects = g_list_append (projection->dirty_rects, dr);
......@@ -226,9 +226,9 @@ static gboolean task_monitor (gpointer foo)
}
static void
node_invalidated (GeglNode *source,
GeglRect *rect,
gpointer data)
node_invalidated (GeglNode *source,
GeglRectangle *rect,
gpointer data)
{
GeglProjection *projection = GEGL_PROJECTION (data);
......@@ -325,7 +325,7 @@ get_property (GObject *gobject,
void gegl_projection_forget_queue (GeglProjection *self,
GeglRect *roi)
GeglRectangle *roi)
{
if (roi)
......@@ -348,7 +348,7 @@ void gegl_projection_forget_queue (GeglProjection *self,
}
void gegl_projection_forget (GeglProjection *self,
GeglRect *roi)
GeglRectangle *roi)
{
gegl_projection_forget_queue (self, roi);
......@@ -368,7 +368,7 @@ void gegl_projection_forget (GeglProjection *self,
}
void gegl_projection_update_rect (GeglProjection *self,
GeglRect roi)
GeglRectangle roi)
{
GeglRegion *temp_region;
......@@ -391,7 +391,7 @@ static gboolean task_render (gpointer foo)
GeglProjection *projection = GEGL_PROJECTION (foo);
gint max_area = MAX_PIXELS;
GeglRect *dr;
GeglRectangle *dr;
if (projection->dirty_rects)
{
......@@ -410,7 +410,7 @@ static gboolean task_render (gpointer foo)
if (band_size<1)
band_size=1;
GeglRect *fragment = g_malloc (sizeof (GeglRect));
GeglRectangle *fragment = g_malloc (sizeof (GeglRectangle));
*fragment = *dr;
fragment->h = band_size;
......@@ -427,7 +427,7 @@ static gboolean task_render (gpointer foo)
if (band_size<1)
band_size=1;
GeglRect *fragment = g_malloc (sizeof (GeglRect));
GeglRectangle *fragment = g_malloc (sizeof (GeglRectangle));
*fragment = *dr;
fragment->w = band_size;
......@@ -450,7 +450,7 @@ static gboolean task_render (gpointer foo)
gegl_node_blit (projection->node, dr, projection->format, 0, (gpointer*) buf);
gegl_buffer_set (projection->buffer, dr, buf, projection->format);
gegl_region_union_with_rect (projection->valid_region, (GeglRect*)dr);
gegl_region_union_with_rect (projection->valid_region, (GeglRectangle*)dr);
g_signal_emit (projection, projection_signals[COMPUTED], 0, dr, NULL, NULL);
......
......@@ -60,13 +60,13 @@ struct _GeglProjectionClass
GType gegl_projection_get_type (void) G_GNUC_CONST;
void gegl_projection_update_rect (GeglProjection *self,
GeglRect roi);
GeglRectangle roi);
void gegl_projection_forget (GeglProjection *self,
GeglRect *roi);
GeglRectangle *roi);
void gegl_projection_forget_queue (GeglProjection *self,
GeglRect *roi);
GeglRectangle *roi);
GeglBuffer *gegl_projection_get_buffer (GeglProjection *self);
gboolean gegl_projection_render (GeglProjection *self);
......
......@@ -129,9 +129,9 @@ static void computed_event (GeglProjection *self,
void *foo,
void *user_data)
{
GeglRect rect = *(GeglRect*)foo;
GeglView *view = GEGL_VIEW (user_data);
GtkWidget *widget = GTK_WIDGET (user_data);
GeglRectangle rect = *(GeglRectangle*)foo;
GeglView *view = GEGL_VIEW (user_data);
GtkWidget *widget = GTK_WIDGET (user_data);
/* FIXME: check that the area is relevant for us */
......@@ -352,7 +352,7 @@ static gboolean
expose_event (GtkWidget *widget, GdkEventExpose * event)
{
GeglView *view;
GeglRect roi = {0,0,0,0};
GeglRectangle roi = {0,0,0,0};
GdkRectangle *rectangles;
gint count;
gint i;
......@@ -394,10 +394,10 @@ expose_event (GtkWidget *widget, GdkEventExpose * event)
void gegl_view_repaint (GeglView *view)
{
GtkWidget *widget = GTK_WIDGET (view);
GeglRect roi={view->x, view->y,
widget->allocation.width / view->scale,
widget->allocation.height / view->scale};
GtkWidget *widget = GTK_WIDGET (view);
GeglRectangle roi={view->x, view->y,
widget->allocation.width / view->scale,
widget->allocation.height / view->scale};
/* forget all already queued repaints */
gegl_projection_forget_queue (view->projection, NULL);
......
......@@ -24,9 +24,9 @@ class Gegl:Add:Op from Gegl:Dual:Src:Op {
new (GeglImageBuffer *dest,
GeglImageBuffer *src1,
GeglImageBuffer *src2,
GeglRect *dest_rect,
GeglRect *src1_rect,
GeglRect *src2_rect)
GeglRectangle *dest_rect,
GeglRectangle *src1_rect,
GeglRectangle *src2_rect)
{
GeglAddOp * self = GEGL_ADD_OP(GET_NEW);
......@@ -47,9 +47,9 @@ class Gegl:Add:Op from Gegl:Dual:Src:Op {
GeglImageBuffer *dest,
GeglImageBuffer *src1,
GeglImageBuffer *src2,
GeglRect *dest_rect,
GeglRect *src1_rect,
GeglRect *src2_rect)
GeglRectangle *dest_rect,
GeglRectangle *src1_rect,
GeglRectangle *src2_rect)
{
GeglPointOp *point_op = GEGL_POINT_OP (self);
GeglPointOpClass *point_op_class =
......
......@@ -23,9 +23,9 @@ class Gegl:Composite:Op from Gegl:Dual:Src:Op {
new (GeglImageBuffer *dest,
GeglImageBuffer *src1,
GeglImageBuffer *src2,
GeglRect *dest_rect,
GeglRect *src1_rect,
GeglRect *src2_rect,
GeglRectangle *dest_rect,
GeglRectangle *src1_rect,
GeglRectangle *src2_rect,
GeglCompositeMode mode)
{
GeglCompositeOp * self = GEGL_COMPOSITE_OP(GET_NEW);
......@@ -47,9 +47,9 @@ class Gegl:Composite:Op from Gegl:Dual:Src:Op {
GeglImageBuffer *dest,
GeglImageBuffer *src1,
GeglImageBuffer *src2,
GeglRect *dest_rect,
GeglRect *src1_rect,
GeglRect *src2_rect,
GeglRectangle *dest_rect,
GeglRectangle *src1_rect,
GeglRectangle *src2_rect,
GeglCompositeMode mode)
{
if(GEGL_OBJECT(self)->constructed)
......
......@@ -23,9 +23,9 @@ class Gegl:Composite:Premult:Op from Gegl:Dual:Src:Op {
new (GeglImageBuffer *dest,
GeglImageBuffer *src1,
GeglImageBuffer *src2,
GeglRect *dest_rect,
GeglRect *src1_rect,
GeglRect *src2_rect,
GeglRectangle *dest_rect,
GeglRectangle *src1_rect,
GeglRectangle *src2_rect,
GeglCompositeMode mode)
{
GeglCompositePremultOp * self = GEGL_COMPOSITE_PREMULT_OP(GET_NEW);
......@@ -47,9 +47,9 @@ class Gegl:Composite:Premult:Op from Gegl:Dual:Src:Op {
GeglImageBuffer *dest,
GeglImageBuffer *src1,
GeglImageBuffer *src2,
GeglRect *dest_rect,
GeglRect *src1_rect,
GeglRect *src2_rect,
GeglRectangle *dest_rect,
GeglRectangle *src1_rect,
GeglRectangle *src2_rect,
GeglCompositeMode mode)
{
if(GEGL_OBJECT(self)->constructed)
......
......@@ -24,9 +24,9 @@ class Gegl:Dark:Op from Gegl:Dual:Src:Op {
new (GeglImageBuffer *dest,
GeglImageBuffer *src1,
GeglImageBuffer *src2,
GeglRect *dest_rect,
GeglRect *src1_rect,
GeglRect *src2_rect)
GeglRectangle *dest_rect,
GeglRectangle *src1_rect,
GeglRectangle *src2_rect)
{
GeglDarkOp * self = GEGL_DARK_OP(GET_NEW);
......@@ -47,9 +47,9 @@ class Gegl:Dark:Op from Gegl:Dual:Src:Op {
GeglImageBuffer *dest,
GeglImageBuffer *src1,
GeglImageBuffer *src2,
GeglRect *dest_rect,
GeglRect *src1_rect,
GeglRect *src2_rect)
GeglRectangle *dest_rect,
GeglRectangle *src1_rect,
GeglRectangle *src2_rect)
{
GeglPointOp *point_op = GEGL_POINT_OP (self);
GeglPointOpClass *point_op_class =
......
......@@ -24,9 +24,9 @@ class Gegl:Diff:Op from Gegl:Dual:Src:Op {
new (GeglImageBuffer *dest,
GeglImageBuffer *src1,
GeglImageBuffer *src2,
GeglRect *dest_rect,
GeglRect *src1_rect,
GeglRect *src2_rect)
GeglRectangle *dest_rect,
GeglRectangle *src1_rect,
GeglRectangle *src2_rect)
{
GeglDiffOp * self = GEGL_DIFF_OP(GET_NEW);
......@@ -47,9 +47,9 @@ class Gegl:Diff:Op from Gegl:Dual:Src:Op {
GeglImageBuffer *dest,
GeglImageBuffer *src1,
GeglImageBuffer *src2,
GeglRect *dest_rect,
GeglRect *src1_rect,
GeglRect *src2_rect)
GeglRectangle *dest_rect,
GeglRectangle *src1_rect,
GeglRectangle *src2_rect)
{
GeglPointOp *point_op = GEGL_POINT_OP (self);
GeglPointOpClass *point_op_class =
......
......@@ -24,7 +24,7 @@ class Gegl:Fill:Op from Gegl:Point:Op {
public
GeglFillOp *
new (GeglImageBuffer *dest,
GeglRect *dest_rect,
GeglRectangle *dest_rect,
GeglColor *fill_color)
{
GeglFillOp * self = GEGL_FILL_OP(GET_NEW);
......@@ -43,7 +43,7 @@ class Gegl:Fill:Op from Gegl:Point:Op {
gboolean
constructor(self,
GeglImageBuffer *dest,
GeglRect *dest_rect,
GeglRectangle *dest_rect,
GeglColor *color)
{
......
......@@ -24,9 +24,9 @@ class Gegl:Light:Op from Gegl:Dual:Src:Op {
new (GeglImageBuffer *dest,
GeglImageBuffer *src1,
GeglImageBuffer *src2,
GeglRect *dest_rect,
GeglRect *src1_rect,
GeglRect *src2_rect)
GeglRectangle *dest_rect,
GeglRectangle *src1_rect,
GeglRectangle *src2_rect)
{
GeglLightOp * self = GEGL_LIGHT_OP(GET_NEW);
......@@ -47,9 +47,9 @@ class Gegl:Light:Op from Gegl:Dual:Src:Op {
GeglImageBuffer *dest,
GeglImageBuffer *src1,
GeglImageBuffer *src2,
GeglRect *dest_rect,
GeglRect *src1_rect,
GeglRect *src2_rect)
GeglRectangle *dest_rect,
GeglRectangle *src1_rect,
GeglRectangle *src2_rect)
{
GeglPointOp *point_op = GEGL_POINT_OP (self);
GeglPointOpClass *point_op_class =
......
......@@ -24,9 +24,9 @@ class Gegl:Max:Op from Gegl:Dual:Src:Op {
new (GeglImageBuffer *dest,
GeglImageBuffer *src1,
GeglImageBuffer *src2,
GeglRect *dest_rect,
GeglRect *src1_rect,
GeglRect *src2_rect)
GeglRectangle *dest_rect,
GeglRectangle *src1_rect,
GeglRectangle *src2_rect)
{
GeglMaxOp * self = GEGL_MAX_OP(GET_NEW);
......@@ -47,9 +47,9 @@ class Gegl:Max:Op from Gegl:Dual:Src:Op {
GeglImageBuffer *dest,
GeglImageBuffer *src1,
GeglImageBuffer *src2,
GeglRect *dest_rect,
GeglRect *src1_rect,
GeglRect *src2_rect)
GeglRectangle *dest_rect,
GeglRectangle *src1_rect,
GeglRectangle *src2_rect)
{
GeglPointOp *point_op = GEGL_POINT_OP (self);
GeglPointOpClass *point_op_class =
......
......@@ -24,9 +24,9 @@ class Gegl:Min:Op from Gegl:Dual:Src:Op {
new (GeglImageBuffer *dest,
GeglImageBuffer *src1,
GeglImageBuffer *src2,
GeglRect *dest_rect,
GeglRect *src1_rect,
GeglRect *src2_rect)
GeglRectangle *dest_rect,
GeglRectangle *src1_rect,
GeglRectangle *src2_rect)
{
GeglMinOp * self = GEGL_MIN_OP(GET_NEW);
......@@ -47,9 +47,9 @@ class Gegl:Min:Op from Gegl:Dual:Src:Op {
GeglImageBuffer *dest,
GeglImageBuffer *src1,
GeglImageBuffer *src2,
GeglRect *dest_rect,
GeglRect *src1_rect,
GeglRect *src2_rect)
GeglRectangle *dest_rect,
GeglRectangle *src1_rect,
GeglRectangle *src2_rect)
{
GeglPointOp *point_op = GEGL_POINT_OP (self);
GeglPointOpClass *point_op_class =
......
......@@ -24,9 +24,9 @@ class Gegl:Mult:Op from Gegl:Dual:Src:Op {
new (GeglImageBuffer *dest,
GeglImageBuffer *src1,
GeglImageBuffer *src2,
GeglRect *dest_rect,
GeglRect *src1_rect,
GeglRect *src2_rect)
GeglRectangle *dest_rect,
GeglRectangle *src1_rect,
GeglRectangle *src2_rect)
{
GeglMultOp * self = GEGL_MULT_OP(GET_NEW);
......@@ -47,9 +47,9 @@ class Gegl:Mult:Op from Gegl:Dual:Src:Op {
GeglImageBuffer *dest,
GeglImageBuffer *src1,
GeglImageBuffer *src2,
GeglRect *dest_rect,
GeglRect *src1_rect,
GeglRect *src2_rect)
GeglRectangle *dest_rect,
GeglRectangle *src1_rect,
GeglRectangle *src2_rect)
{
GeglPointOp *point_op = GEGL_POINT_OP (self);
GeglPointOpClass *point_op_class =
......
......@@ -22,8 +22,8 @@ class Gegl:Premult:Op from Gegl:Single:Src:Op {
GeglPremultOp *
new (GeglImageBuffer *dest,
GeglImageBuffer *src,
GeglRect *dest_rect,
GeglRect *src_rect)
GeglRectangle *dest_rect,
GeglRectangle *src_rect)
{
GeglPremultOp * self = GEGL_PREMULT_OP(GET_NEW);
......@@ -42,8 +42,8 @@ class Gegl:Premult:Op from Gegl:Single:Src:Op {
constructor(self,
GeglImageBuffer *dest,
GeglImageBuffer *src,
GeglRect *dest_rect,
GeglRect *src_rect)
GeglRectangle *dest_rect,
GeglRectangle *src_rect)
{
if(GEGL_OBJECT(self)->constructed)
return FALSE;
......
......@@ -18,7 +18,7 @@ class Gegl:Print:Op from Gegl:Point:Op {
public
GeglPrintOp *
new (GeglImageBuffer *dest,
GeglRect *dest_rect
GeglRectangle *dest_rect
)
{
GeglPrintOp * self = GEGL_PRINT_OP(GET_NEW);
......@@ -37,7 +37,7 @@ class Gegl:Print:Op from Gegl:Point:Op {
gboolean
constructor(self,
GeglImageBuffer *dest,
GeglRect *dest_rect)
GeglRectangle *dest_rect)
{
GeglPointOp *point_op = GEGL_POINT_OP (self);
GeglPointOpClass *point_op_class =
......
......@@ -24,9 +24,9 @@ class Gegl:Screen:Op from Gegl:Dual:Src:Op {
new (GeglImageBuffer *dest,
GeglImageBuffer *src1,
GeglImageBuffer *src2,
GeglRect *dest_rect,
GeglRect *src1_rect,
GeglRect *src2_rect)
GeglRectangle *dest_rect,
GeglRectangle *src1_rect,
GeglRectangle *src2_rect)
{
GeglScreenOp * self = GEGL_SCREEN_OP(GET_NEW);
......@@ -47,9 +47,9 @@ class Gegl:Screen:Op from Gegl:Dual:Src:Op {
GeglImageBuffer *dest,
GeglImageBuffer *src1,
GeglImageBuffer *src2,
GeglRect *dest_rect,
GeglRect *src1_rect,