[cairo-commit] pycairo/examples/gtk cairo-knockout.py,1.2,1.3
Steve Chaplin
commit at pdx.freedesktop.org
Mon Apr 4 06:51:22 PDT 2005
Committed by: stevech1097
Update of /cvs/cairo/pycairo/examples/gtk
In directory gabe:/tmp/cvs-serv8018/examples/gtk
Modified Files:
cairo-knockout.py
Log Message:
SC 2005/04/04
Index: cairo-knockout.py
===================================================================
RCS file: /cvs/cairo/pycairo/examples/gtk/cairo-knockout.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- cairo-knockout.py 19 Mar 2005 11:27:21 -0000 1.2
+++ cairo-knockout.py 4 Apr 2005 13:51:19 -0000 1.3
@@ -50,7 +50,7 @@
ctx.restore()
- check_pattern = cairo.Pattern (surface=check)
+ check_pattern = cairo.Pattern.create_for_surface (check)
ctx.set_pattern(check_pattern)
ctx.rectangle(0, 0, width, height)
ctx.fill()
More information about the cairo-commit
mailing list