1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:37:35 +00:00

LibWeb: Add DOMPoint matrixTransform and DOMMatrix transformPoint

This commit is contained in:
Bastiaan van der Plaat 2023-08-15 13:16:45 +02:00 committed by Jelle Raaijmakers
parent 38bc8836d6
commit b4ae719664
9 changed files with 106 additions and 2 deletions

View file

@ -1,3 +1,6 @@
#import <Geometry/DOMMatrixReadOnly.idl>
#import <Geometry/DOMPoint.idl>
// https://drafts.fxtf.org/geometry/#dompointreadonly
[Exposed=(Window,Worker), Serializable]
interface DOMPointReadOnly {
@ -12,7 +15,7 @@ interface DOMPointReadOnly {
readonly attribute unrestricted double z;
readonly attribute unrestricted double w;
// FIXME: DOMPoint matrixTransform(optional DOMMatrixInit matrix = {});
[NewObject] DOMPoint matrixTransform(optional DOMMatrixInit matrix = {});
[Default] object toJSON();
};