[cairo-commit] pycairo ChangeLog,1.152,1.153 NOTES,1.8,1.9

Steve Chaplin commit at pdx.freedesktop.org
Sun Jul 24 21:10:41 PDT 2005


Committed by: stevech1097

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

Modified Files:
	ChangeLog NOTES 
Log Message:
'SC'

Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/pycairo/ChangeLog,v
retrieving revision 1.152
retrieving revision 1.153
diff -u -d -r1.152 -r1.153
--- ChangeLog	24 Jul 2005 14:27:25 -0000	1.152
+++ ChangeLog	25 Jul 2005 04:10:39 -0000	1.153
@@ -1,3 +1,12 @@
+2005-07-25  Steve Chaplin  <steve1097 at yahoo.com.au>
+
+	* cairo/pycairo-surface.c (image_surface_create_from_png): update to
+	accept a file object. (it requires a cairo version which fixes bug 
+	#3863)
+
+	* NOTES : Add note showing cairo.ImageSurface.create_from_png()
+	accepting a file object argument.
+
 2005-07-24  Steve Chaplin  <steve1097 at yahoo.com.au>
 
 	* examples/gtk/cairo-knockout.py (draw): update create_similar() to

Index: NOTES
===================================================================
RCS file: /cvs/cairo/pycairo/NOTES,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- NOTES	24 Jul 2005 13:54:14 -0000	1.8
+++ NOTES	25 Jul 2005 04:10:39 -0000	1.9
@@ -133,10 +133,12 @@
 
 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);
     not available
 
 Py: surface = cairo.ImageSurface (format, width, height)
     surface = cairo.ImageSurface.create_from_png (filename)
+    surface = cairo.ImageSurface.create_from_png (file_object)
     surface = cairo.ImageSurface.create_for_array (array)
               # create a surface from a Numerical Python array
 




More information about the cairo-commit mailing list