[lasem] tests: add BackgroundImage test.
- From: Emmanuel Pacaud <emmanuel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [lasem] tests: add BackgroundImage test.
- Date: Thu, 25 Oct 2012 19:15:22 +0000 (UTC)
commit 64a31c21a03daa4be0049626392635404abd82c5
Author: Emmanuel Pacaud <emmanuel gnome org>
Date: Wed Oct 24 10:36:00 2012 +0200
tests: add BackgroundImage test.
tests/data/svg/suite/filters/background-image.png | Bin 0 -> 2572 bytes
tests/data/svg/suite/filters/background-image.svg | 15 +++++++++++++++
2 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/tests/data/svg/suite/filters/background-image.png b/tests/data/svg/suite/filters/background-image.png
new file mode 100644
index 0000000..1f22b4f
Binary files /dev/null and b/tests/data/svg/suite/filters/background-image.png differ
diff --git a/tests/data/svg/suite/filters/background-image.svg b/tests/data/svg/suite/filters/background-image.svg
new file mode 100644
index 0000000..4509cfa
--- /dev/null
+++ b/tests/data/svg/suite/filters/background-image.svg
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+
+<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200">
+ <defs>
+ <filter id="blur">
+ <feGaussianBlur in="BackgroundImage" stdDeviation="10 0" />
+ </filter>
+ </defs>
+ <g>
+ <rect x="50" y="50" width="100" height="100" fill="red"/>
+ <rect width="100" height="100" x="-50" y="-50"
+ transform="translate(100,100) rotate(45) skewX(30)"
+ style="fill:#0000ff;fill-opacity:1;fill-rule:nonzero;stroke:none;filter:url(#blur);" />
+ </g>
+</svg>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]