mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:47:34 +00:00
LibWeb: Generate CanvasRenderingContext2D bindings from IDL :^)
We're still missing optional argument support, so this implementation doesn't support fill(), only fill(fill_rule). Still it's really nice to get rid of so much hand-written wrapper code.
This commit is contained in:
parent
f361d25ec8
commit
9ce25bbf1d
8 changed files with 84 additions and 505 deletions
|
@ -143,12 +143,7 @@
|
|||
/* LibWeb bindings */ \
|
||||
M(BadArgCountOne, "%s() needs one argument") \
|
||||
M(BadArgCountAtLeastOne, "%s() needs at least one argument") \
|
||||
M(BadArgCountMany, "%s() needs %s arguments") \
|
||||
M(DrawImageArgumentCount, "drawImage() needs three arguments") \
|
||||
M(FillBadWindingRule, "fill() winding rule must be either 'nonzero' or 'evenodd'") \
|
||||
M(FillNonString, "fill() called with non-string") \
|
||||
M(ImageIsAn, "Image is not an HTMLImageElement, it's an %s") \
|
||||
M(PutImageDataBadCall, "putImageData() called with non-ImageData") \
|
||||
M(BadArgCountMany, "%s() needs %s arguments")
|
||||
|
||||
|
||||
namespace JS {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue