1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 08:37:46 +00:00

LibWeb: Add ImageData objects and implement 2D context putImageData()

An ImageData is a wrapper around a Bitmap wrapper around a
JS::Uint8ClampedArray.
This commit is contained in:
Andreas Kling 2020-04-21 23:49:51 +02:00
parent 54133c683d
commit 2d4c91df8e
10 changed files with 359 additions and 0 deletions

View file

@ -7,6 +7,7 @@ LIBWEB_OBJS = \
Bindings/EventTargetWrapper.o \
Bindings/HTMLCanvasElementWrapper.o \
Bindings/HTMLImageElementWrapper.o \
Bindings/ImageDataWrapper.o \
Bindings/MouseEventWrapper.o \
Bindings/NavigatorObject.o \
Bindings/NodeWrapper.o \
@ -53,6 +54,7 @@ LIBWEB_OBJS = \
DOM/HTMLScriptElement.o \
DOM/HTMLStyleElement.o \
DOM/HTMLTitleElement.o \
DOM/ImageData.o \
DOM/MouseEvent.o \
DOM/Node.o \
DOM/ParentNode.o \