[cairo-commit] cairo/src cairo.h,1.137,1.138

Malcolm Tredinnick commit at pdx.freedesktop.org
Sat Jul 23 09:48:15 PDT 2005


Committed by: malcolm

Update of /cvs/cairo/cairo/src
In directory gabe:/tmp/cvs-serv17104

Modified Files:
	cairo.h 
Log Message:
Slight change to previous commit based on feedback from cworth.


Index: cairo.h
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo.h,v
retrieving revision 1.137
retrieving revision 1.138
diff -u -d -r1.137 -r1.138
--- cairo.h	23 Jul 2005 16:36:00 -0000	1.137
+++ cairo.h	23 Jul 2005 16:48:13 -0000	1.138
@@ -90,15 +90,20 @@
 
 /**
  * cairo_matrix_t:
- * @xx: (1, 1) coordinate in the transform matrix
- * @xy: (1, 2) coordinate in the transform matrix
- * @yx: (2, 1) coordinate in the transform matrix
- * @yy: (2, 2) coordinate in the transform matrix
- * @x0: (3, 1) coordinate in the transform matrix
- * @y0: (3, 2) coordinate in the transform matrix
+ * @xx: xx component of the affine transformation
+ * @yx: yx component of the affine transformation
+ * @xy: xy component of the affine transformation
+ * @yy: yy component of the affine transformation
+ * @x0: X translation component of the affine transformation
+ * @y0: Y translation component of the affine transformation
  *
  * A #cairo_matrix_t holds an affine transformation, such as a scale,
- * rotation, or shear, or a combination of those.
+ * rotation, or shear, or a combination of those. The transformation is given
+ * by:
+ * <programlisting>
+ *  x_new = xx * x + xy * y + x0;
+ *  y_new = yx * x + yy * y + y0;
+ * </programlisting>
  **/
 typedef struct _cairo_matrix {
     double xx; double yx;




More information about the cairo-commit mailing list