Closed
Bug 365886
Opened 18 years ago
Closed 18 years ago
Implement canvas transform() and setTransform()
Categories
(Core :: Graphics: Canvas2D, enhancement)
Tracking
()
RESOLVED
FIXED
People
(Reporter: takenspc, Assigned: takenspc)
References
()
Details
Attachments
(2 files, 2 obsolete files)
841 bytes,
text/html
|
Details | |
3.10 KB,
patch
|
Details | Diff | Splinter Review |
Current Web Applications 1.0 introduces transform(m11, m12, m21, m22, dx, dy) and setTransform(m11, m12, m21, m22, dx, dy) into the canvas 2d context. The rhino canvas implemented them already. http://rhino-canvas.sourceforge.net/ We should implement them.
Assignee | ||
Comment 1•18 years ago
|
||
A patch as per the spec. Both methods uses the follow matrix: transform(m11, m12, m21, m22, dx, dy) <-> m11 m12 dx m21 m22 dy 0 0 1
Assignee: nobody → taken.spc
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•18 years ago
|
||
A test case as per the updated spec. Now, the matrix is below. transform(m11, m12, m21, m22, dx, dy) <-> m11 m21 dx m12 m22 dy 0 0 1
Attachment #250424 -
Attachment is obsolete: true
Assignee | ||
Comment 3•18 years ago
|
||
A new patch followed the updated spec
Attachment #251788 -
Flags: review?(vladimir)
Attachment #251788 -
Attachment is patch: true
Attachment #251788 -
Attachment mime type: text/x-patch → text/plain
Comment on attachment 251788 [details] [diff] [review] Patch rv.1.1 Looks good; do you have cvs commit access? If not, I'll get this checked in.
Attachment #251788 -
Flags: review?(vladimir) → review+
Assignee | ||
Comment 5•18 years ago
|
||
(In reply to comment #4) > (From update of attachment 251788 [details] [diff] [review]) > Looks good; do you have cvs commit access? If not, I'll get this checked in. > No, I don't. I beg of you to do so.
Assignee | ||
Comment 6•18 years ago
|
||
change the uuid of |nsIDOMCanvasRenderingContext2D|.
Attachment #251788 -
Attachment is obsolete: true
Comment 7•18 years ago
|
||
checked-in, thank you Taken-san.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Updated•18 years ago
|
Flags: in-testsuite?
You need to log in
before you can comment on or make changes to this bug.
Description
•