[cairo-commit] cairo ChangeLog,1.1009,1.1010 PORTING_GUIDE,1.1,1.2

Carl Worth commit at pdx.freedesktop.org
Wed Aug 24 08:46:04 PDT 2005


Committed by: cworth

Update of /cvs/cairo/cairo
In directory gabe:/tmp/cvs-serv23383

Modified Files:
	ChangeLog PORTING_GUIDE 
Log Message:

2005-08-24  Carl Worth  <cworth at cworth.org>

        * PORTING_GUIDE: Update name from "0.5 porting guide" to "1.0
        porting guide."


Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/cairo/ChangeLog,v
retrieving revision 1.1009
retrieving revision 1.1010
diff -u -d -r1.1009 -r1.1010
--- ChangeLog	24 Aug 2005 15:28:00 -0000	1.1009
+++ ChangeLog	24 Aug 2005 15:46:02 -0000	1.1010
@@ -1,5 +1,10 @@
 2005-08-24  Carl Worth  <cworth at cworth.org>
 
+	* PORTING_GUIDE: Update name from "0.5 porting guide" to "1.0
+	porting guide."
+
+2005-08-24  Carl Worth  <cworth at cworth.org>
+	
 	* README: Some text cleanups from Øyvind Kolås.
 
 2005-08-24  Carl Worth  <cworth at cworth.org>

Index: PORTING_GUIDE
===================================================================
RCS file: /cvs/cairo/cairo/PORTING_GUIDE,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- PORTING_GUIDE	18 May 2005 01:39:56 -0000	1.1
+++ PORTING_GUIDE	24 Aug 2005 15:46:02 -0000	1.2
@@ -1,9 +1,9 @@
 		    ...-----=======-----...
-		    Cairo 0.5 Porting Guide
+		    Cairo 1.0 Porting Guide
 		    ...-----=======-----...
 
 Here are some notes on more easily porting cairo_code from cairo 0.4
-to cairo 0.5. It is sorted roughly in order of importance, (the items
+to cairo 1.0. It is sorted roughly in order of importance, (the items
 near the top are expected to affect the most people).
 
 Automated API renamings
@@ -224,11 +224,19 @@
 	cairo_rectangle (cr, 0., 0., surface_width, surface_height);
 	cairo_fill (cr);
 
+    or:	cairo_set_rgb_color (cr, 0., 0., 0.);
+	cairo_set_operator (cr, CAIRO_OPERATOR_CLEAR);
+	cairo_rectangle (cr, 0., 0., surface_width, surface_height);
+	cairo_fill (cr);
+
 Now:	cairo_set_source_rgba (cr, 0., 0., 0., 0.);
 	cairo_set_operator (cr, CAIRO_OPERATOR_SOURCE);
 	cairo_paint (cr);
 
-NOTE: Using cairo_rectanlgle and fill would still work just fine. It's
+    or:	cairo_set_operator (cr, CAIRO_OPERATOR_CLEAR);
+	cairo_paint (cr);
+
+NOTE: Using cairo_rectangle and fill would still work just fine. It's
       just a lot more convenient to use cairo_paint now, (particularly
       as it doesn't require you to even know what the bounds of the
       target surface are).



More information about the cairo-commit mailing list