From 67aceb6c67cb06b1b8607fa74a4fb6180a151fd1 Mon Sep 17 00:00:00 2001 From: MacDue Date: Thu, 6 Apr 2023 21:18:26 +0100 Subject: [PATCH] Base: Add canvas clip path test page --- Base/res/html/misc/canvas-clip-path.html | 44 ++++++++++++++++++++++++ Base/res/html/misc/welcome.html | 1 + 2 files changed, 45 insertions(+) create mode 100644 Base/res/html/misc/canvas-clip-path.html diff --git a/Base/res/html/misc/canvas-clip-path.html b/Base/res/html/misc/canvas-clip-path.html new file mode 100644 index 0000000000..8c698ee272 --- /dev/null +++ b/Base/res/html/misc/canvas-clip-path.html @@ -0,0 +1,44 @@ + + +(nonzero) path clipping:
+ +
+evenodd path clipping:
+ + + diff --git a/Base/res/html/misc/welcome.html b/Base/res/html/misc/welcome.html index 8dd0f24eea..bc01e6bf28 100644 --- a/Base/res/html/misc/welcome.html +++ b/Base/res/html/misc/welcome.html @@ -194,6 +194,7 @@
  • canvas path quadratic curve test
  • canvas drawImage() test
  • canvas path house!
  • +
  • canvas clip paths
  • canvas + trigonometry functions
  • Path2D
  • WebGL Demo - Multiple Contexts and glClear(Color)