| Index: core/dom/DOMMatrixReadOnly.idl
|
| diff --git a/core/dom/DOMMatrixReadOnly.idl b/core/dom/DOMMatrixReadOnly.idl
|
| index 53cec159e94b99a104c5df88d6899c16460db0bf..f049f7b8a62df827d4adb1c518b44dd961b9c063 100644
|
| --- a/core/dom/DOMMatrixReadOnly.idl
|
| +++ b/core/dom/DOMMatrixReadOnly.idl
|
| @@ -4,6 +4,7 @@
|
|
|
| [
|
| GarbageCollected,
|
| + NotScriptWrappable,
|
| RuntimeEnabled=GeometryInterfaces,
|
| ] interface DOMMatrixReadOnly {
|
| // These attributes are simple aliases for certain elements of the 4x4 matrix
|
| @@ -35,4 +36,24 @@
|
| readonly attribute boolean isIdentity;
|
|
|
| // FIXME: Should implement some methods (See: crbug.com/388780)
|
| + // Immutable transform methods
|
| + DOMMatrix multiply(DOMMatrix other);
|
| + DOMMatrix translate(unrestricted double tx,
|
| + unrestricted double ty,
|
| + optional unrestricted double tz = 0);
|
| + DOMMatrix scale(unrestricted double scale,
|
| + optional unrestricted double ox = 0,
|
| + optional unrestricted double oy = 0);
|
| + DOMMatrix scale3d(unrestricted double scale,
|
| + optional unrestricted double ox = 0,
|
| + optional unrestricted double oy = 0,
|
| + optional unrestricted double oz = 0);
|
| + DOMMatrix scaleNonUniform(unrestricted double sx,
|
| + optional unrestricted double sy = 1,
|
| + optional unrestricted double sz = 1,
|
| + optional unrestricted double ox = 0,
|
| + optional unrestricted double oy = 0,
|
| + optional unrestricted double oz = 0);
|
| + Float32Array toFloat32Array();
|
| + Float64Array toFloat64Array();
|
| };
|
|
|