mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-26 02:44:14 +00:00
13 lines
789 B
Text
13 lines
789 B
Text
|
|
// 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();
|
||
|
|
};
|