[cairo-commit] pycairo/test cairo_image_surface_create_for_data.py,
1.1, 1.2
Steve Chaplin
commit at pdx.freedesktop.org
Fri Apr 15 11:11:25 PDT 2005
- Previous message: [cairo-commit] pycairo/examples/cairo_snippets/snippets
curve_rectangle.py, 1.1, 1.2 curve_to.py, 1.1,
1.2 fill_and_stroke.py, 1.1, 1.2 fill_and_stroke2.py, 1.1,
1.2 gradient.py, 1.1, 1.2 set_line_cap.py, 1.1, 1.2 text.py,
1.2, 1.3 text_align_center.py, 1.2, 1.3 text_extents.py, 1.2, 1.3
- Next message: [cairo-commit]
pycairo/examples/cairo_snippets snippets_gtk.py, 1.4, 1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Committed by: stevech1097
Update of /cvs/cairo/pycairo/test
In directory gabe:/tmp/cvs-serv29140/test
Modified Files:
cairo_image_surface_create_for_data.py
Log Message:
SC 2005/04/15
Index: cairo_image_surface_create_for_data.py
===================================================================
RCS file: /cvs/cairo/pycairo/test/cairo_image_surface_create_for_data.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- cairo_image_surface_create_for_data.py 4 Apr 2005 17:19:27 -0000 1.1
+++ cairo_image_surface_create_for_data.py 15 Apr 2005 18:11:23 -0000 1.2
@@ -9,8 +9,8 @@
data = array.array('c', 'a' * WIDTH * HEIGHT * 4)
stride = WIDTH * 4
-surface = cairo.Surface.create_for_data(data, cairo.FORMAT_ARGB32,
- WIDTH, HEIGHT, stride);
+surface = cairo.ImageSurface.create_for_data(data, cairo.FORMAT_ARGB32,
+ WIDTH, HEIGHT, stride);
ctx = cairo.Context()
ctx.set_target_surface(surface)
- Previous message: [cairo-commit] pycairo/examples/cairo_snippets/snippets
curve_rectangle.py, 1.1, 1.2 curve_to.py, 1.1,
1.2 fill_and_stroke.py, 1.1, 1.2 fill_and_stroke2.py, 1.1,
1.2 gradient.py, 1.1, 1.2 set_line_cap.py, 1.1, 1.2 text.py,
1.2, 1.3 text_align_center.py, 1.2, 1.3 text_extents.py, 1.2, 1.3
- Next message: [cairo-commit]
pycairo/examples/cairo_snippets snippets_gtk.py, 1.4, 1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cairo-commit
mailing list