mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 05:50:10 +00:00
testsuite: Add opacity handling test for fill nodes
This commit is contained in:
parent
34392ca018
commit
e1ca4b4569
26
testsuite/gsk/compare/fill-opacity.node
Normal file
26
testsuite/gsk/compare/fill-opacity.node
Normal file
@ -0,0 +1,26 @@
|
||||
opacity {
|
||||
child: fill {
|
||||
child: opacity {
|
||||
opacity: 0.4;
|
||||
child: color {
|
||||
bounds: 0 0 50 50;
|
||||
color: rgb(0,255,0);
|
||||
}
|
||||
}
|
||||
path: "\
|
||||
M 10 0\
|
||||
L 40 0\
|
||||
L 40 10\
|
||||
L 50 10\
|
||||
L 50 40\
|
||||
L 40 40\
|
||||
L 40 50\
|
||||
L 10 50\
|
||||
L 10 40\
|
||||
L 0 40\
|
||||
L 0 10\
|
||||
L 10 10\
|
||||
Z";
|
||||
fill-rule: winding;
|
||||
}
|
||||
}
|
BIN
testsuite/gsk/compare/fill-opacity.png
Normal file
BIN
testsuite/gsk/compare/fill-opacity.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 117 B |
@ -66,6 +66,7 @@ compare_render_tests = [
|
||||
'empty-texture',
|
||||
'empty-transform',
|
||||
'fill',
|
||||
'fill-opacity',
|
||||
'fill-with-3d-contents-nogl-nocairo',
|
||||
'huge-height',
|
||||
'huge-width',
|
||||
|
Loading…
Reference in New Issue
Block a user