1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:07:47 +00:00

LibWeb: Implement Path2D#addPath

Required by Ruffle.
This commit is contained in:
Luke Wilde 2023-02-27 18:23:31 +00:00 committed by Andreas Kling
parent 1f97adbee8
commit a964ebc255
3 changed files with 40 additions and 1 deletions

View file

@ -1,3 +1,4 @@
#import <Geometry/DOMMatrixReadOnly.idl>
#import <HTML/Canvas/CanvasPath.idl>
// https://html.spec.whatwg.org/multipage/canvas.html#path2d
@ -5,7 +6,7 @@
interface Path2D {
constructor(optional (Path2D or DOMString) path);
// FIXME: undefined addPath(Path2D path, optional DOMMatrix2DInit transform = {});
undefined addPath(Path2D path, optional DOMMatrix2DInit transform = {});
};
Path2D includes CanvasPath;