diff options
author | Timm Bäder <mail@baedert.org> | 2019-05-06 17:33:29 +0200 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2019-05-06 17:34:48 +0200 |
commit | c8865459fcc549a68b49ba5ab36d1e70efeb1ef0 (patch) | |
tree | 81b6157c43ac0755c3b1c89553a5983457327d3a /testsuite | |
parent | 8559593a18159c3f0b0a13a3eeab59e9bc23ff97 (diff) | |
download | gtk+-c8865459fcc549a68b49ba5ab36d1e70efeb1ef0.tar.gz |
testsuite: Add blend-difference test case
Comparing blend nodes with mode: difference
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/gsk/compare/blend-difference.node | 11 | ||||
-rw-r--r-- | testsuite/gsk/compare/blend-difference.png | bin | 0 -> 507 bytes | |||
-rw-r--r-- | testsuite/gsk/meson.build | 1 |
3 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/gsk/compare/blend-difference.node b/testsuite/gsk/compare/blend-difference.node new file mode 100644 index 0000000000..aaf8eaa4c9 --- /dev/null +++ b/testsuite/gsk/compare/blend-difference.node @@ -0,0 +1,11 @@ +blend { + mode: difference; + bottom: color { + bounds: 0 0 100 100; + color: red; + } + top: color { + bounds: 50 50 100 100; + color: blue; + } +} diff --git a/testsuite/gsk/compare/blend-difference.png b/testsuite/gsk/compare/blend-difference.png Binary files differnew file mode 100644 index 0000000000..be918ffb7b --- /dev/null +++ b/testsuite/gsk/compare/blend-difference.png diff --git a/testsuite/gsk/meson.build b/testsuite/gsk/meson.build index 7f6fc3b3be..90eed14aa9 100644 --- a/testsuite/gsk/meson.build +++ b/testsuite/gsk/meson.build @@ -37,6 +37,7 @@ compare_render_tests = [ 'outset_shadow_simple', 'shadow-in-opacity', 'blend-normal', + 'blend-difference', ] renderers = [ |