[cairo] API Shakeup: cairo_current_matrix
davidr at novell.com
Thu Apr 7 10:56:34 PDT 2005
On Thu, 2005-04-07 at 13:00 -0400, Carl Worth wrote:
> On Thu, 07 Apr 2005 15:36:02 +0200, David Reveman wrote:
> > What's the plan for supporting projective transformations of patterns?
> > We can't use cairo_matrix_t if it's 3x2.
> It's pretty clear to me that the pattern transform is the odd one out
> on this one. We've got (or will have soon) the following functions
> that work with a 3x2 cairo_matrix_t:
> cairo_font_create (two cairo_matrix_t* arguments)
> And then we've proposed adding projective transformation support for
> patterns which would affect the following two functions:
> So I think we'll just want a different matrix datatype
> there. cairo_projective_matrix_t ? cairo_pattern_set_project_matrix ?
That would mean that you wont be able to use any of the cairo_matrix_*
functions with projective matrices. Having another set of matrix
functions for projective matrices doesn't seem like a good idea to me,
and having no utility functions for projective matrices seems even
More information about the cairo