Canvas: implement transformation matrix rotation.

This commit is contained in:
Mátyás Mustoha 2015-05-05 13:03:34 +02:00
parent 7b87085c18
commit e3e2119c4c
10 changed files with 15 additions and 45 deletions

View file

@ -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,