diff --git a/testsuite/gsk/compare/fill.node b/testsuite/gsk/compare/fill.node new file mode 100644 index 0000000000..f568ca1867 --- /dev/null +++ b/testsuite/gsk/compare/fill.node @@ -0,0 +1,13 @@ +fill { + child: color { + bounds: 0 0 100 100; + color: rgb(255,0,0); + } + path: "\ +M 10 10\ +L 90 10\ +L 90 90\ +L 10 90\ +Z"; + fill-rule: winding; +} diff --git a/testsuite/gsk/compare/fill.png b/testsuite/gsk/compare/fill.png new file mode 100644 index 0000000000..d013c7c15c Binary files /dev/null and b/testsuite/gsk/compare/fill.png differ diff --git a/testsuite/gsk/compare/stroke.node b/testsuite/gsk/compare/stroke.node new file mode 100644 index 0000000000..934d744395 --- /dev/null +++ b/testsuite/gsk/compare/stroke.node @@ -0,0 +1,19 @@ +color { + bounds: 0 0 100 100; + color: rgb(0,0,0); +} +stroke { + child: color { + bounds: 0 0 100 100; + color: rgb(255,0,0); + } + path: "\ +M 10 10\ +L 90 10\ +L 90 90\ +L 10 90\ +Z"; + line-width: 2; + line-cap: butt; + line-join: miter; +} diff --git a/testsuite/gsk/compare/stroke.png b/testsuite/gsk/compare/stroke.png new file mode 100644 index 0000000000..a543d8b393 Binary files /dev/null and b/testsuite/gsk/compare/stroke.png differ diff --git a/testsuite/gsk/meson.build b/testsuite/gsk/meson.build index 6b24b9e426..01c0ec24d5 100644 --- a/testsuite/gsk/meson.build +++ b/testsuite/gsk/meson.build @@ -59,6 +59,7 @@ compare_render_tests = [ 'empty-shadow', 'empty-texture', 'empty-transform', + 'fill', 'huge-height', 'huge-width', 'inset-shadow-multiple', @@ -88,6 +89,7 @@ compare_render_tests = [ 'scaled-cairo', 'scaled-texture', 'shadow-in-opacity', + 'stroke', 'texture-scale-magnify-10000x', 'texture-scale-magnify-rotate', 'texture-scale-stripes',