[cairo-commit] pycairo ChangeLog,1.190,1.191 NOTES,1.19,1.20
Steve Chaplin
commit at pdx.freedesktop.org
Tue Dec 13 20:47:04 PST 2005
- Previous message: [cairo-commit] cairo/src cairo-ps-surface.c,1.62,1.63
- Next message: [cairo-commit] pycairo/cairo cairomodule.c, 1.49, 1.50 pycairo.h,
1.42, 1.43 pycairo-private.h, 1.33, 1.34 pycairo-surface.c,
1.60, 1.61
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Committed by: stevech1097
Update of /cvs/cairo/pycairo
In directory gabe:/tmp/cvs-serv11259
Modified Files:
ChangeLog NOTES
Log Message:
'SC'
Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/pycairo/ChangeLog,v
retrieving revision 1.190
retrieving revision 1.191
diff -u -d -r1.190 -r1.191
--- ChangeLog 12 Dec 2005 09:00:30 -0000 1.190
+++ ChangeLog 14 Dec 2005 04:47:02 -0000 1.191
@@ -1,3 +1,18 @@
+2005-12-14 Steve Chaplin <steve1097 at yahoo.com.au>
+
+ * cairo/cairomodule.c :
+ * cairo/pycairo.h:
+ * cairo/pycairo-private.h:
+ * cairo/pycairo-surface.c:
+ add support for SVG surface
+
+ * examples/cairo_snippets/snippets_svg.py: new example
+
+ * examples/Makefile.am (EXTRA_DIST): add snippets_svg.py
+
+ * NOTES : update cairo.Surface section to show that SVGSurface is now
+ supported
+
2005-12-12 Steve Chaplin <steve1097 at yahoo.com.au>
* examples/svg/svgconvert.py : New file - convert SVG files to
Index: NOTES
===================================================================
RCS file: /cvs/cairo/pycairo/NOTES,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- NOTES 12 Oct 2005 03:15:17 -0000 1.19
+++ NOTES 14 Dec 2005 04:47:02 -0000 1.20
@@ -142,15 +142,15 @@
ImageSurface
PDFSurface
PSSurface
+ SVGSurface
Win32Surface
C: cairo_surface_write_to_png (surface, filename);
cairo_surface_write_to_png_stream (surface, write_func, closure);
-Py: surface.write_to_png (filename)
- surface.write_to_png (f)
- where 'f' is a file object or a file-like object (an object that has a
- "write" method, for example StringIO, cStringIO)
+Py: surface.write_to_png (f)
+ where 'f' is a filename, a file object, or a file-like object (an object
+ that has a "write" method, for example StringIO, cStringIO)
C : surface = cairo_image_surface_create (format, width, height);
surface = cairo_image_surface_create_from_png (filename);
@@ -171,9 +171,12 @@
height_in_points);
surface = cairo_ps_surface_create (filename, width_in_points,
height_in_points);
+ surface = cairo_svg_surface_create (filename, width_in_points,
+ height_in_points);
Py: surface = cairo.PDFSurface (filename, width_in_points, height_in_points)
surface = cairo.PSSurface (filename, width_in_points, height_in_points)
+ surface = cairo.SVGSurface (filename, width_in_points, height_in_points)
Methods supporting default argument values:
surface.mark_dirty (x=0, y=0, width=-1, height=-1)
- Previous message: [cairo-commit] cairo/src cairo-ps-surface.c,1.62,1.63
- Next message: [cairo-commit] pycairo/cairo cairomodule.c, 1.49, 1.50 pycairo.h,
1.42, 1.43 pycairo-private.h, 1.33, 1.34 pycairo-surface.c,
1.60, 1.61
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cairo-commit
mailing list