gegl r2771 - in trunk: . examples



Author: ok
Date: Sun Nov 16 19:05:23 2008
New Revision: 2771
URL: http://svn.gnome.org/viewvc/gegl?rev=2771&view=rev

Log:
* examples/gegl-paint.c: (paint_press): add an initial move-to
command at the beginning of new paths.


Modified:
   trunk/ChangeLog
   trunk/examples/gegl-paint.c

Modified: trunk/examples/gegl-paint.c
==============================================================================
--- trunk/examples/gegl-paint.c	(original)
+++ trunk/examples/gegl-paint.c	Sun Nov 16 19:05:23 2008
@@ -57,6 +57,7 @@
                                         NULL);
       gegl_node_link_many (top, over, out, NULL);
       gegl_node_connect_to (stroke, "output", over, "aux");
+      gegl_path_append (vector, 'M', event->x, event->y);
 
       pen_down = TRUE;
 



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