[Webkit-unassigned] [Bug 28067] TransformationMatrix should have rectToRect convenience function

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 7 08:34:41 PDT 2009


--- Comment #5 from Eric Seidel <eric at webkit.org>  2009-08-07 08:34:41 PDT ---
(From update of attachment 34272)
I think we should deploy this in at least one place to make sure it works and
is tested.  I think this patch is OK as is, but I'd rather see it used in at
least one of the places where we already do this by hand.  For example, the SVG
viewport code does this kind of thing.

    TransformationMatrix matrix;
    if (gradientServer->boundingBoxMode()) {
        matrix.translate(maskBBox.x(), maskBBox.y());
        matrix.scaleNonUniform(maskBBox.width(), maskBBox.height());

TransformationMatrix SVGPreserveAspectRatio::getCTM(double logicX, double

There are many other examples in the code.  Not all of them would need to be
deployed to for this to be tested. :)

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list