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:
parent
1f97adbee8
commit
a964ebc255
3 changed files with 40 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue