From: Matthias Clasen Date: Mon, 1 May 2023 00:28:12 +0000 (-0400) Subject: Add a test for rotated blend nodes X-Git-Tag: archive/raspbian/4.12.3+ds-1+rpi1~1^2^2^2~22^2~1^2~323^2~7 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f29b24517e3cad5b76b945eae179b5b729ef734f;p=gtk4.git Add a test for rotated blend nodes --- diff --git a/testsuite/gsk/compare/blend-in-rotate.node b/testsuite/gsk/compare/blend-in-rotate.node new file mode 100644 index 0000000000..4e70392013 --- /dev/null +++ b/testsuite/gsk/compare/blend-in-rotate.node @@ -0,0 +1,13 @@ +transform { + transform: rotate(90); + child: blend { + bottom: color { + bounds: 0 0 100 100; + color: rgb(255,0,0); + } + top: color { + bounds: 50 50 100 100; + color: rgb(0,0,255); + } + } +} diff --git a/testsuite/gsk/compare/blend-in-rotate.png b/testsuite/gsk/compare/blend-in-rotate.png new file mode 100644 index 0000000000..4a684f3b11 Binary files /dev/null and b/testsuite/gsk/compare/blend-in-rotate.png differ diff --git a/testsuite/gsk/meson.build b/testsuite/gsk/meson.build index 4118a6c669..e1dbe7abe2 100644 --- a/testsuite/gsk/meson.build +++ b/testsuite/gsk/meson.build @@ -17,6 +17,7 @@ compare_render_tests = [ 'blend-difference', 'blend-modes', 'blend-invisible-child', + 'blend-in-rotate', 'blend-normal', 'border-bottom-right', 'border-one-rounded',