forked from AuroraMiddleware/gtk
parent
1c90bb522e
commit
834d3749c6
48
testsuite/gsk/compare/scale-textures-negative.node
Normal file
48
testsuite/gsk/compare/scale-textures-negative.node
Normal file
@ -0,0 +1,48 @@
|
||||
transform {
|
||||
transform: scale(1, 1);
|
||||
child: opacity {
|
||||
opacity: 0.6;
|
||||
child: container {
|
||||
texture {
|
||||
bounds: 0 0 50 50;
|
||||
texture: url("data:,<svg width='50' height='50'><rect x='25' y='25' width='25' height='25' fill='red'/></svg>");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
transform {
|
||||
transform: scale(1, -1);
|
||||
child: opacity {
|
||||
opacity: 0.6;
|
||||
child: container {
|
||||
texture {
|
||||
bounds: 0 0 50 50;
|
||||
texture: url("data:,<svg width='50' height='50'><rect x='25' y='25' width='25' height='25' fill='lime'/></svg>");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
transform {
|
||||
transform: scale(-1, -1);
|
||||
child: opacity {
|
||||
opacity: 0.6;
|
||||
child: container {
|
||||
texture {
|
||||
bounds: 0 0 50 50;
|
||||
texture: url("data:,<svg width='50' height='50'><rect x='25' y='25' width='25' height='25' fill='blue'/></svg>");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
transform {
|
||||
transform: scale(-1, 1);
|
||||
child: opacity {
|
||||
opacity: 0.6;
|
||||
child: container {
|
||||
texture {
|
||||
bounds: 0 0 50 50;
|
||||
texture: url("data:,<svg width='50' height='50'><rect x='25' y='25' width='25' height='25' fill='yellow'/></svg>");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
BIN
testsuite/gsk/compare/scale-textures-negative.png
Normal file
BIN
testsuite/gsk/compare/scale-textures-negative.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 265 B |
@ -69,6 +69,7 @@ compare_render_tests = [
|
||||
'outset_shadow_rounded_top',
|
||||
'outset_shadow_simple',
|
||||
'scaled-cairo',
|
||||
'scale-textures-negative',
|
||||
'scale-up-down',
|
||||
'shadow-in-opacity',
|
||||
'texture-url',
|
||||
|
Loading…
Reference in New Issue
Block a user