[librsvg/rustification] Add test files for bug #761871 - maintain separate reflection points for cubic and quadratic curves



commit 68ae25b75b0ff872436f82dbb67a145f08266843
Author: Federico Mena Quintero <federico gnome org>
Date:   Mon Dec 12 15:56:00 2016 -0600

    Add test files for bug #761871 - maintain separate reflection points for cubic and quadratic curves
    
    This was fixed during the rewrite of the path parser; this gives us a
    test now.

 .../bugs/761871-reset-reflection-points-ref.png    |  Bin 0 -> 695 bytes
 .../bugs/761871-reset-reflection-points.svg        |   18 ++++++++++++++++++
 2 files changed, 18 insertions(+), 0 deletions(-)
---
diff --git a/tests/fixtures/reftests/bugs/761871-reset-reflection-points-ref.png 
b/tests/fixtures/reftests/bugs/761871-reset-reflection-points-ref.png
new file mode 100644
index 0000000..e76e47c
Binary files /dev/null and b/tests/fixtures/reftests/bugs/761871-reset-reflection-points-ref.png differ
diff --git a/tests/fixtures/reftests/bugs/761871-reset-reflection-points.svg 
b/tests/fixtures/reftests/bugs/761871-reset-reflection-points.svg
new file mode 100644
index 0000000..cc3bda9
--- /dev/null
+++ b/tests/fixtures/reftests/bugs/761871-reset-reflection-points.svg
@@ -0,0 +1,18 @@
+<svg xmlns="http://www.w3.org/2000/svg"; width="128" height="128" viewBox="0 0 256 128">
+
+<!-- alternating S (or C) and T -->
+<path d="M 10 10       S 10 48 48 48       T 48 10"/>
+<path d="M 60 10       S 60 48 98 48 Q 98 48 98 10"/>
+
+<path d="M 10 60 C 10 60 10 98 48 98       T 48 60"/>
+<path d="M 60 60 C 60 60 60 98 98 98 Q 98 98 98 60"/>
+<g transform='translate (128, 0)'>
+<!-- alternating Q (or T) and S -->
+<path d="M 10 10       T 10 48       S 48 48 48 10"/>
+<path d="M 60 10       T 60 48 C 60 48 98 48 98 10"/>
+
+<path d="M 10 60 Q 10 60 10 98       S 48 98 48 60"/>
+<path d="M 60 60 Q 60 60 60 98 C 60 98 98 98 98 60"/>
+</g>
+</svg>
+


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