The way that we handle paths and transforms is a bit ugly at the moment. We do
the transform
when we add the points. A simpler solution is to just transform the path when a
transform is done:
CanvasRendering2DContext.prototype.transform = function(m) {
...
this.path_.transform(inverseTransform(m))
};
A lot of good stuff can be found at:
http://trac.webkit.org/browser/trunk/WebCore/html/CanvasRenderingContext2D.cpp
Original issue reported on code.google.com by erik.arv...@gmail.com on 27 Mar 2009 at 4:54
Original issue reported on code.google.com by
erik.arv...@gmail.com
on 27 Mar 2009 at 4:54