[Commit] twin/twin_fedit twin-fedit.c,1.2,1.3
Keith Packard
commit at keithp.com
Thu Feb 2 22:40:10 PST 2006
- Previous message: [Commit] twin/twin_fedit Makefile, 1.1, 1.2 twin-fedit.c, 1.1, 1.2 twin-fedit.h, 1.1, 1.2 twin-sfit.c, 1.1, 1.2
- Next message: [Commit] twin ChangeLog,1.29,1.30
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Committed by: keithp
Update of /local/src/CVS/twin/twin_fedit
In directory home.keithp.com:/tmp/cvs-serv18841/twin_fedit
Modified Files:
twin-fedit.c
Log Message:
2006-02-02 Keith Packard <keithp at keithp.com>
* twin_fedit/twin-fedit.c: (dot), (spot):
Eliminate spurious segment by moving to initial arc point
(sigh).
Index: twin-fedit.c
===================================================================
RCS file: /local/src/CVS/twin/twin_fedit/twin-fedit.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- twin-fedit.c 2 Feb 2006 23:03:55 -0000 1.2
+++ twin-fedit.c 3 Feb 2006 06:40:08 -0000 1.3
@@ -257,6 +257,7 @@
{
cairo_set_source_rgba (cr, red, blue, green, alpha);
cairo_set_line_width (cr, 0.7);
+ cairo_move_to (cr, x + DOT_SIZE, y);
cairo_arc (cr, x, y, DOT_SIZE, 0, M_PI * 2);
cairo_stroke (cr);
}
@@ -265,6 +266,7 @@
spot (cairo_t *cr, double x, double y, double red, double blue, double green, double alpha)
{
cairo_set_source_rgba (cr, red, blue, green, alpha);
+ cairo_move_to (cr, x - DOT_SIZE, y);
cairo_arc (cr, x, y, DOT_SIZE, 0, M_PI * 2);
cairo_fill (cr);
}
- Previous message: [Commit] twin/twin_fedit Makefile, 1.1, 1.2 twin-fedit.c, 1.1, 1.2 twin-fedit.h, 1.1, 1.2 twin-sfit.c, 1.1, 1.2
- Next message: [Commit] twin ChangeLog,1.29,1.30
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Commit
mailing list