mirror of
https://github.com/servo/servo.git
synced 2025-08-08 23:15:33 +01:00
Canvas: implement transformation matrix rotation.
This commit is contained in:
parent
7b87085c18
commit
e3e2119c4c
10 changed files with 15 additions and 45 deletions
|
@ -32,7 +32,7 @@ interface CanvasRenderingContext2D {
|
|||
// transformations (default transform is the identity matrix)
|
||||
// attribute SVGMatrix currentTransform;
|
||||
void scale(unrestricted double x, unrestricted double y);
|
||||
//void rotate(unrestricted double angle);
|
||||
void rotate(unrestricted double angle);
|
||||
void translate(unrestricted double x, unrestricted double y);
|
||||
void transform(unrestricted double a,
|
||||
unrestricted double b,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue