mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-21 18:37:58 +03:00
LibWeb: Use proper length values for CanvasRenderingContext2D functions
This commit is contained in:
parent
a804615b9b
commit
d5d3e0b4ed
Notes:
sideshowbarker
2024-07-19 07:23:34 +09:00
Author: https://github.com/emanuele6 Commit: https://github.com/SerenityOS/serenity/commit/d5d3e0b4ed0 Pull-request: https://github.com/SerenityOS/serenity/pull/1921
@ -61,10 +61,10 @@ CanvasRenderingContext2DWrapper::CanvasRenderingContext2DWrapper(CanvasRendering
|
||||
put_native_function("beginPath", begin_path, 0);
|
||||
put_native_function("closePath", close_path, 0);
|
||||
put_native_function("stroke", stroke, 0);
|
||||
put_native_function("moveTo", move_to, 0);
|
||||
put_native_function("lineTo", line_to, 0);
|
||||
put_native_function("moveTo", move_to, 2);
|
||||
put_native_function("lineTo", line_to, 2);
|
||||
|
||||
put_native_function("createImageData", create_image_data, 2);
|
||||
put_native_function("createImageData", create_image_data, 1);
|
||||
put_native_function("putImageData", put_image_data, 3);
|
||||
|
||||
put_native_property("lineWidth", line_width_getter, line_width_setter);
|
||||
|
Loading…
Reference in New Issue
Block a user