[lasem] tests: test for blur subregion.
- From: Emmanuel Pacaud <emmanuel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [lasem] tests: test for blur subregion.
- Date: Sun, 21 Oct 2012 14:02:25 +0000 (UTC)
commit 76c5ed5e7c059954e5890d8b25a6d41499d9eb45
Author: Emmanuel Pacaud <emmanuel gnome org>
Date: Sun Oct 21 16:01:31 2012 +0200
tests: test for blur subregion.
tests/data/svg/filter/blur-subregion-ref.png | Bin 0 -> 509 bytes
tests/data/svg/filter/blur-subregion.svg | 16 ++++++++++++++++
2 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/tests/data/svg/filter/blur-subregion-ref.png b/tests/data/svg/filter/blur-subregion-ref.png
new file mode 100644
index 0000000..5575177
Binary files /dev/null and b/tests/data/svg/filter/blur-subregion-ref.png differ
diff --git a/tests/data/svg/filter/blur-subregion.svg b/tests/data/svg/filter/blur-subregion.svg
new file mode 100644
index 0000000..eb7a635
--- /dev/null
+++ b/tests/data/svg/filter/blur-subregion.svg
@@ -0,0 +1,16 @@
+<!--
+ Exercise blur filter subregion.
+-->
+
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="40" height="40">
+ <defs>
+ <filter id="filter" filterUnits="objectBoundingBox" x="-50%" y="-50%" width="200%" height="200%">
+ <feGaussianBlur x="10" y="10" width="20" height="20" stdDeviation="5 5" />
+ </filter>
+ <g id="square">
+ <rect x="10" y="10" height="20" width="20" style="stroke:none;fill:blue;filter:url(#filter);"/>
+ <path d="M10.5 5 L10.5 10 M5 10.5 L10 10.5 M29.5 35 L29.5 30 M30 29.5 L35 29.5" stroke-width="1" stroke="black" fill="none" />
+ </g>
+ </defs>
+ <use xlink:href="#square" />
+</svg>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]