summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/modules/csspaint/paint_rendering_context_2d.idl
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/modules/csspaint/paint_rendering_context_2d.idl')
-rw-r--r--chromium/third_party/blink/renderer/modules/csspaint/paint_rendering_context_2d.idl13
1 files changed, 12 insertions, 1 deletions
diff --git a/chromium/third_party/blink/renderer/modules/csspaint/paint_rendering_context_2d.idl b/chromium/third_party/blink/renderer/modules/csspaint/paint_rendering_context_2d.idl
index 94d6d465805..6e4ef60d87d 100644
--- a/chromium/third_party/blink/renderer/modules/csspaint/paint_rendering_context_2d.idl
+++ b/chromium/third_party/blink/renderer/modules/csspaint/paint_rendering_context_2d.idl
@@ -13,12 +13,23 @@
// transformations (default transform is the identity matrix)
void scale(unrestricted double x, unrestricted double y);
+ [RuntimeEnabled=NewCanvas2DAPI] void scale(unrestricted double x, unrestricted double y, unrestricted double z);
void rotate(unrestricted double angle);
+ [RuntimeEnabled=NewCanvas2DAPI] void rotate3d(unrestricted double angleX, unrestricted double angleY, unrestricted double angleZ);
+ [RuntimeEnabled=NewCanvas2DAPI] void rotateAxis(unrestricted double axisX, unrestricted double axisY, unrestricted double axisZ, unrestricted double angle);
void translate(unrestricted double x, unrestricted double y);
+ [RuntimeEnabled=NewCanvas2DAPI] void translate(unrestricted double x, unrestricted double y, unrestricted double z);
+ [RuntimeEnabled=NewCanvas2DAPI] void perspective(unrestricted double length);
void transform(unrestricted double a, unrestricted double b, unrestricted double c, unrestricted double d, unrestricted double e, unrestricted double f);
+ [RuntimeEnabled=NewCanvas2DAPI] void transform(
+ unrestricted double m11, unrestricted double m12, unrestricted double m13, unrestricted double m14,
+ unrestricted double m21, unrestricted double m22, unrestricted double m23, unrestricted double m24,
+ unrestricted double m31, unrestricted double m32, unrestricted double m33, unrestricted double m34,
+ unrestricted double m41, unrestricted double m42, unrestricted double m43, unrestricted double m44
+ );
void setTransform(unrestricted double a, unrestricted double b, unrestricted double c, unrestricted double d, unrestricted double e, unrestricted double f);
void resetTransform();
- [RaisesException] void setTransform(optional DOMMatrix2DInit transform = {});
+ [RaisesException] void setTransform(optional DOMMatrixInit transform = {});
DOMMatrix getTransform();