[cairo-commit] cairo-demo/png ChangeLog, 1.19, 1.20 Makefile, 1.9, 1.10 snapping.c, 1.3, 1.4

Carl Worth commit at pdx.freedesktop.org
Wed Nov 3 13:03:14 PST 2004


Committed by: cworth

Update of /cvs/cairo/cairo-demo/png
In directory gabe:/tmp/cvs-serv11579

Modified Files:
	ChangeLog Makefile snapping.c 
Log Message:

        * snapping.c (snap_point_for_fill): Fix typo snapping y to x.


Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/cairo-demo/png/ChangeLog,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- ChangeLog	25 Oct 2004 15:35:21 -0000	1.19
+++ ChangeLog	3 Nov 2004 21:03:12 -0000	1.20
@@ -1,3 +1,7 @@
+2004-11-03  Carl Worth  <cworth at cworth.org>
+
+	* snapping.c (snap_point_for_fill): Fix typo snapping y to x.
+
 2004-10-25  Carl Worth  <cworth at cworth.org>
 
 	* snapping.c (snap_point_for_fill, snap_point_for_stroke)

Index: Makefile
===================================================================
RCS file: /cvs/cairo/cairo-demo/png/Makefile,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- Makefile	22 Oct 2004 15:08:23 -0000	1.9
+++ Makefile	3 Nov 2004 21:03:12 -0000	1.10
@@ -1,11 +1,11 @@
-EXAMPLES=bevels caps_joins hering outline spiral splines_tolerance snapping stars text text-rotate
+EXAMPLES=bevels caps_joins datapattern hering outline spiral splines_tolerance snapping stars text text-rotate
 
 CFLAGS+=-g -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls `pkg-config --cflags cairo libpng`
 LDFLAGS+=`pkg-config --libs cairo libpng`
 
 all: ${EXAMPLES}
 
-${EXAMPLES}: write_png.o
+${EXAMPLES}: write_png.o read_png.c
 
 write_png.o: write_png.c write_png.h
 

Index: snapping.c
===================================================================
RCS file: /cvs/cairo/cairo-demo/png/snapping.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- snapping.c	25 Oct 2004 15:21:00 -0000	1.3
+++ snapping.c	3 Nov 2004 21:03:12 -0000	1.4
@@ -65,7 +65,7 @@
     /* Convert to device space, round, then convert back to user space. */
     cairo_transform_point (cr, x, y);
     *x = floor (*x + 0.5);
-    *y = floor (*x + 0.5);
+    *y = floor (*y + 0.5);
     cairo_inverse_transform_point (cr, x, y);
 }
 




More information about the cairo-commit mailing list