[cairo-commit] pycairo/examples warpedtext.py,1.11,1.12
Steve Chaplin
commit at pdx.freedesktop.org
Wed May 11 17:00:10 PDT 2005
Committed by: stevech1097
Update of /cvs/cairo/pycairo/examples
In directory gabe:/tmp/cvs-serv16913/examples
Modified Files:
warpedtext.py
Log Message:
SC
Index: warpedtext.py
===================================================================
RCS file: /cvs/cairo/pycairo/examples/warpedtext.py,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- warpedtext.py 9 May 2005 09:12:31 -0000 1.11
+++ warpedtext.py 12 May 2005 00:00:08 -0000 1.12
@@ -47,7 +47,7 @@
Width, Height = 512, 512
surface = cairo.ImageSurface(cairo.FORMAT_ARGB32, Width, Height)
ctx = cairo.Context(surface)
-solidpattern = ctx.source
+solidpattern = ctx.get_source()
# background
pat = cairo.Pattern.create_linear(0.0, 0.0, 0, Height)
More information about the cairo-commit
mailing list