blob: 423b10ba86962076226e15f2d7c92b9159df4f57 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// https://html.spec.whatwg.org/multipage/canvas.html#canvastransform
interface mixin CanvasTransform {
undefined scale(unrestricted double x, unrestricted double y);
undefined rotate(unrestricted double radians);
undefined translate(unrestricted double x, unrestricted double y);
undefined transform(unrestricted double a, unrestricted double b, unrestricted double c, unrestricted double d, unrestricted double e, unrestricted double f);
// FIXME: [NewObject] DOMMatrix getTransform();
undefined setTransform(unrestricted double a, unrestricted double b, unrestricted double c, unrestricted double d, unrestricted double e, unrestricted double f);
// FIXME: undefined setTransform(optional DOMMatrix2DInit transform = {});
undefined resetTransform();
};
|