mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:57:44 +00:00
LibWeb: Add DOMMatrix fromFloat32Array and fromFloat64Array
This commit is contained in:
parent
2e122b16e4
commit
3c27843cfe
9 changed files with 146 additions and 13 deletions
|
@ -7,8 +7,8 @@ interface DOMMatrix : DOMMatrixReadOnly {
|
|||
constructor(optional (DOMString or sequence<unrestricted double>) init);
|
||||
|
||||
[NewObject] static DOMMatrix fromMatrix(optional DOMMatrixInit other = {});
|
||||
// FIXME: [NewObject] static DOMMatrix fromFloat32Array(Float32Array array32);
|
||||
// FIXME: [NewObject] static DOMMatrix fromFloat64Array(Float64Array array64);
|
||||
[NewObject] static DOMMatrix fromFloat32Array(Float32Array array32);
|
||||
[NewObject] static DOMMatrix fromFloat64Array(Float64Array array64);
|
||||
|
||||
// These attributes are simple aliases for certain elements of the 4x4 matrix
|
||||
inherit attribute unrestricted double a;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue