LibWeb: Implement basics for OffscreenCanvas

This implements the basic interface, classes and functions for
OffscreenCanvas. Many are still stubbed out and have many FIXMEs in
them, but it is a basic skeleton.
This commit is contained in:
Totto16 2025-03-07 00:19:45 +01:00 committed by Andrew Kaster
commit 2ad3ce5d37
Notes: github-actions[bot] 2025-06-30 15:47:43 +00:00
14 changed files with 1094 additions and 4 deletions

View file

@ -51,7 +51,7 @@ class CanvasRenderingContext2D
, public CanvasCompositing
, public CanvasSettings
, public CanvasPathDrawingStyles<CanvasRenderingContext2D>
, public CanvasTextDrawingStyles<CanvasRenderingContext2D> {
, public CanvasTextDrawingStyles<CanvasRenderingContext2D, HTMLCanvasElement> {
WEB_PLATFORM_OBJECT(CanvasRenderingContext2D, Bindings::PlatformObject);
GC_DECLARE_ALLOCATOR(CanvasRenderingContext2D);