gegl r2441 - in trunk: . operations/workshop



Author: martinn
Date: Sat Jun 14 12:33:01 2008
New Revision: 2441
URL: http://svn.gnome.org/viewvc/gegl?rev=2441&view=rev

Log:
2008-06-14  Martin Nordholts  <martinn svn gnome org>

	* operations/workshop/stroke.c (get_bounding_box): Format


Modified:
   trunk/ChangeLog
   trunk/operations/workshop/stroke.c

Modified: trunk/operations/workshop/stroke.c
==============================================================================
--- trunk/operations/workshop/stroke.c	(original)
+++ trunk/operations/workshop/stroke.c	Sat Jun 14 12:33:01 2008
@@ -48,15 +48,15 @@
 static GeglRectangle
 get_bounding_box (GeglOperation *operation)
 {
-  GeglChantO *o = GEGL_CHANT_PROPERTIES (operation);
-  GeglRectangle defined = {0,0, 512,512};
-  gdouble x0,x1,y0,y1;
+  GeglChantO    *o       = GEGL_CHANT_PROPERTIES (operation);
+  GeglRectangle  defined = { 0, 0, 512, 512 };
+  gdouble        x0, x1, y0, y1;
 
   gegl_vector_get_bounds (o->vector, &x0, &x1, &y0, &y1);
-  defined.x = x0 - o->linewidth;
-  defined.y = y0 - o->linewidth;
-  defined.width = x1-x0 + o->linewidth * 2;
-  defined.height = y1-y0 + o->linewidth * 2;
+  defined.x      = x0 - o->linewidth;
+  defined.y      = y0 - o->linewidth;
+  defined.width  = x1 - x0 + o->linewidth * 2;
+  defined.height = y1 - y0 + o->linewidth * 2;
 
   return defined;
 }



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