[webkit-dev] QMatrix and Linux
darin at apple.com
Tue Jun 13 11:34:21 PDT 2006
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.
More information about the webkit-dev