[lasem] tests: another clip test.



commit 2dabd2d264588580a81e14f0c84ac013b0f4fb8b
Author: Emmanuel Pacaud <emmanuel gnome org>
Date:   Sun May 15 09:45:38 2011 +0200

    tests: another clip test.

 tests/data/svg/misc/funny_clip_evenodd.png |  Bin 0 -> 389 bytes
 tests/data/svg/misc/funny_clip_evenodd.svg |   10 ++++++++++
 2 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/tests/data/svg/misc/funny_clip_evenodd.png b/tests/data/svg/misc/funny_clip_evenodd.png
new file mode 100644
index 0000000..08ddf3b
Binary files /dev/null and b/tests/data/svg/misc/funny_clip_evenodd.png differ
diff --git a/tests/data/svg/misc/funny_clip_evenodd.svg b/tests/data/svg/misc/funny_clip_evenodd.svg
new file mode 100644
index 0000000..0d0f23c
--- /dev/null
+++ b/tests/data/svg/misc/funny_clip_evenodd.svg
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg xmlns="http://www.w3.org/2000/svg"; version="1.1" width="110" height="110">
+  <defs>
+    <clipPath id="funnypath" style="clip-rule:evenodd">
+      <path d="M 40,10 h 30 v 90 h -30 z m 10,10 h 10 v 70 h -10 z"/>
+      <path d="M 10,40 h 90 v 30 h -90 z m 10,10 h 70 v 10 h -70 z"/>
+    </clipPath>
+  </defs>
+  <rect width="110" height="110" x="0" y="0" clip-path="url(#funnypath)" style="fill:#FF0000;fill-opacity:1"/>
+</svg>
\ No newline at end of file



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]