[cairo-commit] pycairo/examples context-subclass.py, 1.2, 1.3 gradient.py, 1.3, 1.4 hering.py, 1.3, 1.4 warpedtext.py, 1.6, 1.7

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


Committed by: stevech1097

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

Modified Files:
	context-subclass.py gradient.py hering.py warpedtext.py 
Log Message:
SC 2005/04/14

Index: context-subclass.py
===================================================================
RCS file: /cvs/cairo/pycairo/examples/context-subclass.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- context-subclass.py	30 Mar 2005 00:22:18 -0000	1.2
+++ context-subclass.py	14 Apr 2005 12:05:26 -0000	1.3
@@ -37,7 +37,7 @@
         self.set_rgb_color (0, 1, 0)
         self.stroke()
         
-surface = cairo.Surface(cairo.FORMAT_ARGB32, WIDTH, HEIGHT)
+surface = cairo.ImageSurface(cairo.FORMAT_ARGB32, WIDTH, HEIGHT)
 ctx = MyContext()
 ctx.set_target_surface(surface)
 

Index: gradient.py
===================================================================
RCS file: /cvs/cairo/pycairo/examples/gradient.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- gradient.py	4 Apr 2005 13:51:18 -0000	1.3
+++ gradient.py	14 Apr 2005 12:05:26 -0000	1.4
@@ -7,7 +7,7 @@
 
 WIDTH, HEIGHT  = 256, 256
 
-surface = cairo.Surface(cairo.FORMAT_ARGB32, WIDTH, HEIGHT)
+surface = cairo.ImageSurface(cairo.FORMAT_ARGB32, WIDTH, HEIGHT)
 ctx = cairo.Context()
 ctx.set_target_surface(surface)
 

Index: hering.py
===================================================================
RCS file: /cvs/cairo/pycairo/examples/hering.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- hering.py	30 Mar 2005 00:22:18 -0000	1.3
+++ hering.py	14 Apr 2005 12:05:26 -0000	1.4
@@ -42,7 +42,7 @@
     ctx.stroke()
 
 
-surface = cairo.Surface(cairo.FORMAT_ARGB32, WIDTH, HEIGHT)
+surface = cairo.ImageSurface(cairo.FORMAT_ARGB32, WIDTH, HEIGHT)
 ctx = cairo.Context()
 ctx.set_target_surface(surface)
 

Index: warpedtext.py
===================================================================
RCS file: /cvs/cairo/pycairo/examples/warpedtext.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- warpedtext.py	8 Apr 2005 03:24:49 -0000	1.6
+++ warpedtext.py	14 Apr 2005 12:05:26 -0000	1.7
@@ -35,7 +35,7 @@
 
 WIDTH, HEIGHT = 512, 512
 
-surface = cairo.Surface(cairo.FORMAT_ARGB32, WIDTH, HEIGHT)
+surface = cairo.ImageSurface(cairo.FORMAT_ARGB32, WIDTH, HEIGHT)
 ctx = cairo.Context()
 ctx.set_target_surface(surface)
 




More information about the cairo-commit mailing list