[Webkit-unassigned] [Bug 11666] .getScreenCTM() returns wrong values

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 24 11:34:50 PST 2006


------- Comment #2 from mitz at webkit.org  2006-11-24 11:34 PDT -------
(From update of attachment 11621)
The * is on the wrong side:

+    SVGMatrix *ctm = SVGLocatable::getScreenCTM(this);

But I'm somewhat confused by this patch. SVGTextElement inherits from
SVGTransformable, yet it calls directly to SVGLocatable's implementations of
getCTM and getScreenCTM. The only other class that inherits directly from
SVGTransformable is SVGStyledTransformableElement, whose getCTM and
getScreenCTM implementations also awkwardly call SVGLocatable's implementation
(and then apply the local transformation).

Wouldn't it be possible to implement getCTM and getScreenCTM in
SVGTransformable (by invoking SVGLocatable's implementation and multiplying by
the localMatrix()) and get rid of the implementations in both SVGTextElement
and SVGStyledTransformableElement?

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

More information about the webkit-unassigned mailing list