[cairo-commit] pycairo/examples/cairo_snippets snippets_png.py, 1.2, 1.3

Steve Chaplin commit at pdx.freedesktop.org
Thu Apr 14 05:05:28 PDT 2005


Committed by: stevech1097

Update of /cvs/cairo/pycairo/examples/cairo_snippets
In directory gabe:/tmp/cvs-serv19054/examples/cairo_snippets

Modified Files:
	snippets_png.py 
Log Message:
SC 2005/04/14

Index: snippets_png.py
===================================================================
RCS file: /cvs/cairo/pycairo/examples/cairo_snippets/snippets_png.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- snippets_png.py	7 Apr 2005 02:09:57 -0000	1.2
+++ snippets_png.py	14 Apr 2005 12:05:26 -0000	1.3
@@ -17,7 +17,7 @@
     if Verbose_mode:
         print 'processing %s' % snippet,
     
-    surface = cairo.Surface(cairo.FORMAT_ARGB32, Width, Height)
+    surface = cairo.ImageSurface(cairo.FORMAT_ARGB32, Width, Height)
     cr = cairo.Context()
     cr.set_target_surface(surface)
 




More information about the cairo-commit mailing list