gegl r3026 - trunk/operations/common



Author: martinn
Date: Sat Apr 11 12:57:43 2009
New Revision: 3026
URL: http://svn.gnome.org/viewvc/gegl?rev=3026&view=rev

Log:
Make gegl:color announce an infinite bounding box

There is no bounding box for gegl:color so make
gegl_color_get_bounding_box() return a GeglRectangle representing an
infinite plane.

Modified:
   trunk/operations/common/color.c

Modified: trunk/operations/common/color.c
==============================================================================
--- trunk/operations/common/color.c	(original)
+++ trunk/operations/common/color.c	Sat Apr 11 12:57:43 2009
@@ -39,8 +39,7 @@
 static GeglRectangle
 gegl_color_op_get_bounding_box (GeglOperation *operation)
 {
-  GeglRectangle result = {-10000000,-10000000,20000000,20000000};
-  return result;
+  return gegl_rectangle_infinite_plane ();
 }
 
 static gboolean



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]