[webkit-dev] QMatrix and Linux

Mike Emmel mike.emmel at gmail.com
Tue Jun 13 12:04:13 PDT 2006


Okay I just finished just wrapping cairo.

If that works its easy enough to unroll all this platform independent.


On 6/13/06, Darin Adler <darin at apple.com> wrote:
> On Jun 13, 2006, at 10:34 AM, Mike Emmel wrote:
>
> > I'm turning on SVG support for Linux and have run into QMatrix.
> >
> > my plan is to reimplement in terms of cairo_matrix_t  in my
> > platform but
> > I suspect this code may be changed if so what are the plans.
>
> My plan was to change QMatrix so that the actual matrix code is cross-
> platform and doesn't use CoreGraphics CGAffineTransform at all. The
> only platform-specific part would be conversion to and from the
> platform data structure.
>
> At one point, I had a patch to do this, but I got caught up in
> changing around how SVG used the class, and ended up unable to land
> it without causing SVG regressions.
>
> It would be great to patch QMatrix to have cross-platform math code,
> either before or after changing its name to AffineTransform (that
> name change is in do-webcore-changes). The patch attached to <http://
> bugzilla.opendarwin.org/show_bug.cgi?id=6868> has my old attempt to
> do these things, where I bit off a bit more than I could chew.
>
>      -- Darin
>
>



More information about the webkit-dev mailing list