gegl r2689 - in trunk: . bin
- From: ok svn gnome org
- To: svn-commits-list gnome org
- Subject: gegl r2689 - in trunk: . bin
- Date: Sun, 2 Nov 2008 22:04:25 +0000 (UTC)
Author: ok
Date: Sun Nov 2 22:04:24 2008
New Revision: 2689
URL: http://svn.gnome.org/viewvc/gegl?rev=2689&view=rev
Log:
* bin/editor.c: (stroke_press_event), (stroke_motion_notify_event):
disable use of dynamics by default (it slows things down too
much for now).
Modified:
trunk/ChangeLog
trunk/bin/editor.c
Modified: trunk/bin/editor.c
==============================================================================
--- trunk/bin/editor.c (original)
+++ trunk/bin/editor.c Sun Nov 2 22:04:24 2008
@@ -20,6 +20,8 @@
#define ACTIVE_COLOR cairo_set_source_rgba (cr, 1.0, 0.0, 0.0, 0.5)
#define NORMAL_COLOR cairo_set_source_rgba (cr, 0.0, 0.0, 0.0, 0.5)
+#define USE_DYNAMICS 0
+
#include "config.h"
#include <gdk/gdkkeysyms.h>
@@ -1124,7 +1126,9 @@
gegl_path_clear (vector);
gegl_path_append (vector, 'M', ex, ey);
tools.in_drag = TRUE;
+#if USE_DYNAMICS
tools.width_path = gegl_path_add_parameter_path (vector, "linewidth");
+#endif
g_object_unref (vector);
return TRUE;
}
@@ -1202,6 +1206,7 @@
gegl_path_append (tools.path, 'L', ex, ey);
+#if USE_DYNAMICS
if(foo%3==0){
gdouble magnitude = 1.0;
@@ -1221,6 +1226,7 @@
gegl_path_append (tools.width_path, '_', -1.0, magnitude);
}
+#endif
tools.prevx = ex;
tools.prevy = ey;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]