[cairo-commit] pycairo ChangeLog, 1.141, 1.142 RELEASING, 1.8,
1.9 configure.ac, 1.27, 1.28 NOTES, 1.6, 1.7
Steve Chaplin
commit at pdx.freedesktop.org
Tue Jun 21 18:29:15 PDT 2005
Committed by: stevech1097
Update of /cvs/cairo/pycairo
In directory gabe:/tmp/cvs-serv20647
Modified Files:
ChangeLog RELEASING configure.ac NOTES
Log Message:
SC
Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/pycairo/ChangeLog,v
retrieving revision 1.141
retrieving revision 1.142
diff -u -d -r1.141 -r1.142
--- ChangeLog 22 Jun 2005 00:48:07 -0000 1.141
+++ ChangeLog 22 Jun 2005 01:29:13 -0000 1.142
@@ -1,3 +1,15 @@
+=== Pycairo 0.5.1 ===
+2005-06-22 Steve Chaplin <steve1097 at yahoo.com.au>
+
+ * RELEASING: add note about setup.py version
+
+ * setup.py : increment pycairo version
+
+ * configure.ac: increment pycairo version and required cairo version
+ to 0.5.1
+
+ * NOTES : add Win32Surface
+
2005-06-22 Steve Chaplin <steve1097 at yahoo.com.au>
* examples/gtk/text.py :
Index: RELEASING
===================================================================
RCS file: /cvs/cairo/pycairo/RELEASING,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- RELEASING 20 May 2005 11:07:31 -0000 1.8
+++ RELEASING 22 Jun 2005 01:29:13 -0000 1.9
@@ -25,6 +25,7 @@
Increment pycairo_major/minor version to match the cairo major/minor
version that pycairo requires (and increment the micro version if
necessary for any subsequent pycairo updates).
+ (increment setup.py version)
(install fresh copy, run examples, run any other tests)
Index: configure.ac
===================================================================
RCS file: /cvs/cairo/pycairo/configure.ac,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- configure.ac 16 Jun 2005 01:24:30 -0000 1.27
+++ configure.ac 22 Jun 2005 01:29:13 -0000 1.28
@@ -4,11 +4,11 @@
# the pycairo version number
m4_define(pycairo_major_version, 0)
m4_define(pycairo_minor_version, 5)
-m4_define(pycairo_micro_version, 0)
+m4_define(pycairo_micro_version, 1)
m4_define(pycairo_version, pycairo_major_version.pycairo_minor_version.pycairo_micro_version)
# versions of packages we require
-m4_define(cairo_required_version, 0.5.0)
+m4_define(cairo_required_version, 0.5.1)
m4_define(gtk_required_version, 2.0.0)
m4_define(pygtk_required_version, 1.99.16)
m4_define(libsvg_cairo_required_version, 0.1.6)
Index: NOTES
===================================================================
RCS file: /cvs/cairo/pycairo/NOTES,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- NOTES 30 May 2005 08:28:41 -0000 1.6
+++ NOTES 22 Jun 2005 01:29:13 -0000 1.7
@@ -11,15 +11,14 @@
--------------------------------
* Provides an OO interface to cairo, using Python 2.2 new style classes.
-* Pycairo_Check_Status() is called to check the status of cairo_t operations,
+* Pycairo_Check_Status() is called to check the status of cairo operations,
and raise exceptions as appropriate.
* Includes the cairo.gtk module - a simple extension with functions for
creating cairo objects from GdkDrawables or GdkPixbufs. This makes it
-possible to use the bindings with PyGTK.
+possible to use the Pycairo with PyGTK.
-* Provides a C API that can be used by other Python extensions. Will be
-important when wrapping other libraries that depend on cairo
+* Provides a C API that can be used by other Python extensions.
Constants
@@ -43,16 +42,16 @@
The Pycairo classes are listed below showing just the differences to the C API.
Use the cairo docs to get a full listing of available functions.
-See the 'examples' directory for Pycairo examples
+See the 'examples' directory for Pycairo examples.
cairo.Context
-------------
C : cr = cairo_create (surface);
-Py:ctx = cairo.Context (surface)
+Py: ctx = cairo.Context (surface)
C : cairo_set_dash (cairo_t *cr, double *dashes, int ndash, double offset);
-Py:ctx.set_dash (dash_sequence, offset)
+Py: ctx.set_dash (dash_sequence, offset)
Methods supporting default argument values:
ctx.mask_surface(surface, x=0.0, y=0.0)
@@ -124,8 +123,7 @@
ImageSurface
PDFSurface
PSSurface
-
-gtk ...
+ Win32Surface
C : surface = cairo_image_surface_create (format, width, height);
surface = cairo_image_surface_create_from_png (filename);
@@ -134,7 +132,7 @@
Py: surface = cairo.ImageSurface (format, width, height)
surface = cairo.ImageSurface.create_from_png (filename)
surface = cairo.ImageSurface.create_for_array (array)
- # create a surface from a Numerical Python array
+ # create a surface from a Numerical Python array
C: surface = cairo_pdf_surface_create (filename, width_in_points,
More information about the cairo-commit
mailing list