[cairo] API Shakeup: cairo_current_matrix

David Reveman davidr at novell.com
Thu Apr 7 06:36:02 PDT 2005


On Wed, 2005-04-06 at 16:55 -0400, Carl Worth wrote:
> On Sat, 02 Apr 2005 06:36:31 -0500, Carl Worth wrote:
> > typedef struct _cairo_matrix {
> >     double xx; double yx; double xy; double yy; double x0; double y0;
> > } cairo_matrix_t;
> > 
> > It's not hard to convince me that we shouldn't be the only system with
> > some other order here. So the new implementation will have this
> > order.
> 
> I've got a patch ready to commit for this now. Most of it is pretty
> boring, (automated renamings), so I've attached only the changes to
> the header files.
> 

-typedef struct _cairo_matrix cairo_matrix_t;
+typedef struct _cairo_matrix {
+    double xx; double yx;
+    double xy; double yy;
+    double x0; double y0;
+} cairo_matrix_t;
+

What's the plan for supporting projective transformations of patterns?
We can't use cairo_matrix_t if it's 3x2.

-David




More information about the cairo mailing list