[cairo-commit] pycairo/examples/gtk cairo-knockout.py,1.9,1.10

Steve Chaplin commit at pdx.freedesktop.org
Sun Jul 24 07:27:27 PDT 2005


Committed by: stevech1097

Update of /cvs/cairo/pycairo/examples/gtk
In directory gabe:/tmp/cvs-serv14791/examples/gtk

Modified Files:
	cairo-knockout.py 
Log Message:
'SC'

Index: cairo-knockout.py
===================================================================
RCS file: /cvs/cairo/pycairo/examples/gtk/cairo-knockout.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- cairo-knockout.py	19 May 2005 04:47:56 -0000	1.9
+++ cairo-knockout.py	24 Jul 2005 14:27:25 -0000	1.10
@@ -68,9 +68,9 @@
     yc = height / 2.
     
     target  = ctx.get_target()
-    overlay = target.create_similar(cairo.FORMAT_ARGB32, width, height)
-    punch   = target.create_similar(cairo.FORMAT_A8,     width, height)
-    circles = target.create_similar(cairo.FORMAT_ARGB32, width, height)
+    overlay = target.create_similar(cairo.CONTENT_COLOR_ALPHA, width, height)
+    punch   = target.create_similar(cairo.CONTENT_ALPHA, width, height)
+    circles = target.create_similar(cairo.CONTENT_COLOR_ALPHA, width, height)
 
     fill_checks(ctx, 0, 0, width, height)
 




More information about the cairo-commit mailing list