examples: clean up mask resources.
authorHermet Park <chuneon.park@samsung.com>
Mon, 15 Mar 2021 10:19:54 +0000 (19:19 +0900)
committerJunsuChoi <jsuya.choi@samsung.com>
Tue, 16 Mar 2021 01:05:55 +0000 (10:05 +0900)
These are not proper for our svg examples.

src/examples/Svg.cpp
src/examples/images/mask-gradient.svg [deleted file]
src/examples/images/mask.svg [deleted file]

index 392e5c7..4c07420 100644 (file)
@@ -5,8 +5,8 @@
 /* Drawing Commands                                                     */
 /************************************************************************/
 
-#define NUM_PER_LINE 5
-#define SIZE 160
+#define NUM_PER_LINE 4
+#define SIZE 200
 
 static int count = 0;
 
diff --git a/src/examples/images/mask-gradient.svg b/src/examples/images/mask-gradient.svg
deleted file mode 100644 (file)
index 1063ae0..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-<svg version="1.1" id="Layer_1" viewBox="0 0 64 64" enable-background="new 0 0 64 64" xml:space="preserve"\r
-  xmlns="http://www.w3.org/2000/svg">\r
-  <defs>\r
-        <linearGradient x1="29%" y1="36%" x2="77%" y2="63%" id="linearGradient">\r
-            <stop stop-color="#0000FF" offset="0%"></stop>\r
-            <stop stop-color="#FF0000" offset="100%"></stop>\r
-        </linearGradient>\r
-    <mask id="myMask">\r
-      <circle id="maskID" cx="40" cy="40" r="10" fill="white" fill-opacity="1" />\r
-    </mask>\r
-  </defs>\r
-  <rect x="0" y="0" width="64" height="64" fill="url(#linearGradient)" mask="url(#myMask)"/>\r
-</svg>
\ No newline at end of file
diff --git a/src/examples/images/mask.svg b/src/examples/images/mask.svg
deleted file mode 100644 (file)
index 7f6d065..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<svg version="1.1" baseProfile="basic" id="svg" xmlns:svg="http://www.w3.org/2000/svg"\r
-         xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="900px" height="900px"\r
-         viewBox="0 0 900 900" xml:space="preserve">\r
-  <mask id="myMask">\r
-      <circle id="maskID" cx="450" cy="450" r="200" fill="white" fill-opacity="1" />\r
-  </mask>\r
-  <rect x="0" y="0" width="900" height="900" fill="blue" mask="url(#myMask)"/> \r
-</svg>\r