[cairo-commit] cairo-demo/png ChangeLog,1.18,1.19

Carl Worth commit at pdx.freedesktop.org
Mon Oct 25 08:35:23 PDT 2004


Committed by: cworth

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

Modified Files:
	ChangeLog 
Log Message:

        * snapping.c (snap_point_for_fill, snap_point_for_stroke)
        (snap_line_width): Switch from integer truncation to floor() so
        that rounding works as desired with negative numbers.


Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/cairo-demo/png/ChangeLog,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- ChangeLog	22 Oct 2004 15:52:26 -0000	1.18
+++ ChangeLog	25 Oct 2004 15:35:21 -0000	1.19
@@ -1,3 +1,9 @@
+2004-10-25  Carl Worth  <cworth at cworth.org>
+
+	* snapping.c (snap_point_for_fill, snap_point_for_stroke)
+	(snap_line_width): Switch from integer truncation to floor() so
+	that rounding works as desired with negative numbers.
+
 2004-10-22  Carl Worth  <cworth at cworth.org>
 
 	* snapping.c: Add demo showing how to do device-pixel-aligned




More information about the cairo-commit mailing list