mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-10 19:46:03 +00:00
LibWeb: Add DOMMatrix fromFloat32Array and fromFloat64Array
This commit is contained in:
parent
2e122b16e4
commit
3c27843cfe
Notes:
sideshowbarker
2024-07-16 17:12:03 +09:00
Author: https://github.com/bplaat
Commit: 3c27843cfe
Pull-request: https://github.com/SerenityOS/serenity/pull/21233
Reviewed-by: https://github.com/ADKaster
9 changed files with 146 additions and 13 deletions
|
@ -7,8 +7,8 @@ interface DOMMatrixReadOnly {
|
|||
constructor(optional (DOMString or sequence<unrestricted double>) init);
|
||||
|
||||
[NewObject] static DOMMatrixReadOnly fromMatrix(optional DOMMatrixInit other = {});
|
||||
// FIXME: [NewObject] static DOMMatrixReadOnly fromFloat32Array(Float32Array array32);
|
||||
// FIXME: [NewObject] static DOMMatrixReadOnly fromFloat64Array(Float64Array array64);
|
||||
[NewObject] static DOMMatrixReadOnly fromFloat32Array(Float32Array array32);
|
||||
[NewObject] static DOMMatrixReadOnly fromFloat64Array(Float64Array array64);
|
||||
|
||||
// These attributes are simple aliases for certain elements of the 4x4 matrix
|
||||
readonly attribute unrestricted double a;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue