From 0a55679de465d770767de36da8fefb573644d86e Mon Sep 17 00:00:00 2001 From: AnotherTest Date: Tue, 5 May 2020 06:54:26 +0430 Subject: [PATCH] LibWeb: Add canvas.quadraticCurveTo() Also adds a test, and removes debug spam :tm: --- .../anon/www/canvas-path-quadratic-curve.html | 44 +++++++++++++++++++ Base/home/anon/www/welcome.html | 1 + Libraries/LibGfx/Path.cpp | 4 ++ .../CanvasRenderingContext2DWrapper.cpp | 14 ++++++ .../CanvasRenderingContext2DWrapper.h | 1 + .../LibWeb/DOM/CanvasRenderingContext2D.cpp | 7 ++- .../LibWeb/DOM/CanvasRenderingContext2D.h | 1 + 7 files changed, 70 insertions(+), 2 deletions(-) create mode 100644 Base/home/anon/www/canvas-path-quadratic-curve.html diff --git a/Base/home/anon/www/canvas-path-quadratic-curve.html b/Base/home/anon/www/canvas-path-quadratic-curve.html new file mode 100644 index 0000000000..88e05239c2 --- /dev/null +++ b/Base/home/anon/www/canvas-path-quadratic-curve.html @@ -0,0 +1,44 @@ + + + +canvas path - quadratic curve example + + + + + + diff --git a/Base/home/anon/www/welcome.html b/Base/home/anon/www/welcome.html index 77b1747388..d9ed0eb87a 100644 --- a/Base/home/anon/www/welcome.html +++ b/Base/home/anon/www/welcome.html @@ -28,6 +28,7 @@ span#ua {

Your user agent is:

Some small test pages: