This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html Section: http://www.whatwg.org/specs/web-apps/current-work/complete.html#transformations Comment: Why is there no getTransform() method? Posted from: 173.52.179.61
My use case is a LOGO interpreter in Javascript that does the drawing on the canvas. I'm able to use transformations to draw the path of the turtle but if I draw the turtle then I need to clear the canvas before running the next command to avoid leaving a series of turtles. If I was able to load the transformation matrix I believe I could use it as a CSS transformation to position an image on top of the canvas.
I guess I'm not the only one wondering this: http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2010-July/027394.html
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document: http://dev.w3.org/html5/decision-policy/decision-policy.html Status: Partially Accepted Change Description: see diff given below Rationale: This might make sense, but first we need to wait for implementations to catch up with what we've implemented so far. I've marked this "LATER" so that we will remember to revisit this in the future.
mass-move component to LC1
Mozilla proposes "attribute SVGMatrix currentTransform" in: http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2011-November/033745.html
Adopted that as proposal: http://wiki.whatwg.org/wiki/Canvas#Misc_other_proposals
See also Dean's unified-css-and-svg matrix proposal: http://lists.w3.org/Archives/Public/public-fx/2012JanMar/0007.html which was in response to http://lists.w3.org/Archives/Public/public-webapps/2011OctDec/0376.html
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document: http://dev.w3.org/html5/decision-policy/decision-policy.html Status: Accepted Change Description: I've used SVGMatrix for now. Rationale: Concurred with reporter's comments.