mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 03:08:13 +00:00
LibWeb: Implement CanvasRenderingContext2D.createPattern()
This is a first pass at implementing CRC2D.createPattern() and the associated CanvasPattern object. This implementation only works for a few of the required image sources [like CRC2D.drawImage()], and does not yet support transforms. Other than that it supports everything else (which is mainly the various repeat modes).
This commit is contained in:
parent
0c313c586b
commit
f74e2da875
8 changed files with 229 additions and 8 deletions
|
@ -65,6 +65,7 @@ libweb_js_bindings(Geometry/DOMRect)
|
|||
libweb_js_bindings(Geometry/DOMRectList)
|
||||
libweb_js_bindings(Geometry/DOMRectReadOnly)
|
||||
libweb_js_bindings(HTML/CanvasGradient)
|
||||
libweb_js_bindings(HTML/CanvasPattern)
|
||||
libweb_js_bindings(HTML/CanvasRenderingContext2D)
|
||||
libweb_js_bindings(HTML/CloseEvent)
|
||||
libweb_js_bindings(HTML/DOMParser)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue