[cairo-commit] pycairo ChangeLog, 1.171, 1.172 configure.ac, 1.34,
1.35 NOTES, 1.12, 1.13
Steve Chaplin
commit at pdx.freedesktop.org
Thu Aug 25 04:48:11 PDT 2005
Committed by: stevech1097
Update of /cvs/cairo/pycairo
In directory gabe:/tmp/cvs-serv1415
Modified Files:
ChangeLog configure.ac NOTES
Log Message:
'SC'
Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/pycairo/ChangeLog,v
retrieving revision 1.171
retrieving revision 1.172
diff -u -d -r1.171 -r1.172
--- ChangeLog 22 Aug 2005 06:37:37 -0000 1.171
+++ ChangeLog 25 Aug 2005 11:48:09 -0000 1.172
@@ -1,3 +1,12 @@
+2005-08-25 Steve Chaplin <steve1097 at yahoo.com.au>
+
+ * configure.ac: require cairo 1.0.0
+
+ * cairo/pycairo-surface.c (surface_write_to_png): update to accept
+ filename or file object
+
+ * NOTES : add note listing surface.write_to_png (file_object)
+
2005-08-22 Steve Chaplin <steve1097 at yahoo.com.au>
* configure.ac: require cairo 0.9.3
Index: configure.ac
===================================================================
RCS file: /cvs/cairo/pycairo/configure.ac,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- configure.ac 22 Aug 2005 06:37:37 -0000 1.34
+++ configure.ac 25 Aug 2005 11:48:09 -0000 1.35
@@ -8,7 +8,7 @@
m4_define(pycairo_version, pycairo_major_version.pycairo_minor_version.pycairo_micro_version)
# versions of packages we require
-m4_define(cairo_required_version, 0.9.3)
+m4_define(cairo_required_version, 1.0.0)
m4_define(gtk_required_version, 2.2.0)
m4_define(pygtk_required_version, 2.2.0)
m4_define(libsvg_cairo_required_version, 0.1.6)
Index: NOTES
===================================================================
RCS file: /cvs/cairo/pycairo/NOTES,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- NOTES 22 Aug 2005 06:37:37 -0000 1.12
+++ NOTES 25 Aug 2005 11:48:09 -0000 1.13
@@ -138,6 +138,12 @@
PSSurface
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 (file_object)
+
C : surface = cairo_image_surface_create (format, width, height);
surface = cairo_image_surface_create_from_png (filename);
surface = cairo_image_surface_create_from_png_stream (read_func, closure);
More information about the cairo-commit
mailing list