[cairo-commit] pycairo ChangeLog,1.72,1.73 NOTES,1.1,1.2

Steve Chaplin commit at pdx.freedesktop.org
Fri Apr 8 01:51:19 PDT 2005


Committed by: stevech1097

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

Modified Files:
	ChangeLog NOTES 
Log Message:
SC 2005/04/08

Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/pycairo/ChangeLog,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -d -r1.72 -r1.73
--- ChangeLog	8 Apr 2005 03:24:48 -0000	1.72
+++ ChangeLog	8 Apr 2005 08:51:17 -0000	1.73
@@ -1,5 +1,29 @@
 2005-04-08  Steve Chaplin  <steve1097 at yahoo.com.au>
 
+	* NOTES: remove notes on the old matrix implementation
+
+	* cairo/pycairo.h: PyCairoMatrix: change cairo_matrix_t *matrix to
+	cairo_matrix_t matrix
+
+	* cairo/pycairo-context.c (pycairo_transform, pycairo_set_matrix) 
+	(pycairo_set_font_matrix, pycairo_identity_matrix): 
+	update matrix references to match change in pycairo.h
+
+	* cairo/pycairo-matrix.c (pycairo_matrix_repr):
+	(pycairo_matrix_richcmp): remove cairo_matrix_get_affine
+	(pycairo_matrix_multiply): remove cairo_matrix_create
+	(pycairo_matrix_invert): 
+	(pycairo_matrix_rotate): 
+	(pycairo_matrix_scale): 
+	(pycairo_matrix_translate):
+	remove cairo_matrix_create and return Py_NONE, not a matrix
+
+	* cairo/pycairo-surface.c (pycairo_surface_get_matrix): 
+	remove cairo_matrix_create
+	(pycairo_surface_set_matrix): updated matrix reference
+
+2005-04-08  Steve Chaplin  <steve1097 at yahoo.com.au>
+
 	* examples/warpedtext.py : change select_font to select_font_face,
 	change scale_font to set_font_size
 

Index: NOTES
===================================================================
RCS file: /cvs/cairo/pycairo/NOTES,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- NOTES	15 Nov 2004 10:05:27 -0000	1.1
+++ NOTES	8 Apr 2005 08:51:17 -0000	1.2
@@ -2,10 +2,6 @@
 
 * provides an OO interface to Cairo, using Python 2.2 new style classes.
 
-* treat cairo.Matrix objects as immutable.  The wrappers for things like
-cairo_matrix_invert() return a new object, leaving the existing matrix
-unchanged.
-
 * cairo_status() is called to check the status of cairo_t operations, and
 raise exceptions as appropriate.
 




More information about the cairo-commit mailing list