summaryrefslogtreecommitdiff
path: root/tests/regression/dumptest/polygon-tests-expected.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/regression/dumptest/polygon-tests-expected.txt')
-rw-r--r--tests/regression/dumptest/polygon-tests-expected.txt32
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/regression/dumptest/polygon-tests-expected.txt b/tests/regression/dumptest/polygon-tests-expected.txt
new file mode 100644
index 0000000..ce4ad87
--- /dev/null
+++ b/tests/regression/dumptest/polygon-tests-expected.txt
@@ -0,0 +1,32 @@
+ polygon(points = undef, paths = undef, convexity = 1);
+ polygon(points = [], paths = undef, convexity = 1);
+ polygon(points = [[], []], paths = undef, convexity = 1);
+ polygon(points = [[[]]], paths = undef, convexity = 1);
+ multmatrix([[1, 0, 0, 2], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
+ polygon(points = [[0, 0], [1, 0], [1, 1]], paths = undef, convexity = 1);
+ }
+ multmatrix([[1, 0, 0, 0], [0, 1, 0, 2], [0, 0, 1, 0], [0, 0, 0, 1]]) {
+ polygon(points = [[0, 0]], paths = undef, convexity = 1);
+ }
+ multmatrix([[1, 0, 0, 2], [0, 1, 0, 2], [0, 0, 1, 0], [0, 0, 0, 1]]) {
+ polygon(points = [[0, 0], [1, 1]], paths = undef, convexity = 1);
+ }
+ multmatrix([[1, 0, 0, 2], [0, 1, 0, 2], [0, 0, 1, 0], [0, 0, 0, 1]]) {
+ polygon(points = [[0, 0], [1, 1], [2, 2]], paths = undef, convexity = 1);
+ }
+ multmatrix([[1, 0, 0, 0], [0, 1, 0, -2], [0, 0, 1, 0], [0, 0, 0, 1]]) {
+ polygon(points = [[0, 0], [1, 0], [1, 1], [0, 1]], paths = undef, convexity = 1);
+ }
+ multmatrix([[1, 0, 0, 0], [0, 1, 0, -4], [0, 0, 1, 0], [0, 0, 0, 1]]) {
+ polygon(points = [[0, 0], [1, 0], [1, 1], [0, 1]], paths = [], convexity = 1);
+ }
+ multmatrix([[1, 0, 0, 2], [0, 1, 0, -2], [0, 0, 1, 0], [0, 0, 0, 1]]) {
+ polygon(points = [[0, 0], [1, 0], [0.8, 0.5], [1, 1], [0, 1]], paths = undef, convexity = 1);
+ }
+ multmatrix([[1, 0, 0, -2], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
+ polygon(points = [[0, 0], [0.5, -0.2], [1, 0], [1.2, 0.5], [1, 1], [0.5, 1.2], [0, 1], [-0.2, 0.5]], paths = undef, convexity = 1);
+ }
+ multmatrix([[1, 0, 0, -2], [0, 1, 0, -2], [0, 0, 1, 0], [0, 0, 0, 1]]) {
+ polygon(points = [[0, 0], [0.5, -0.2], [1, 0], [1.2, 0.5], [1, 1], [0.5, 1.2], [0, 1], [-0.2, 0.5]], paths = [[0, 1, 2, 3], [4, 5, 6, 7]], convexity = 1);
+ }
+
contact: Jan Huwald // Impressum