testsuite: Add tests for dihedral transforms
Just to make sure stuff shows up in the right place.
This commit is contained in:
55
testsuite/gsk/compare/dihedral.node
Normal file
55
testsuite/gsk/compare/dihedral.node
Normal file
@@ -0,0 +1,55 @@
|
||||
transform {
|
||||
child: color {
|
||||
bounds: 0 0 50 50;
|
||||
color: rgb(0,255,0);
|
||||
}
|
||||
}
|
||||
transform {
|
||||
transform: rotate(90);
|
||||
child: color {
|
||||
bounds: 0 0 50 50;
|
||||
color: rgb(255,0,0);
|
||||
}
|
||||
}
|
||||
transform {
|
||||
transform: rotate(180);
|
||||
child: color {
|
||||
bounds: 0 0 50 50;
|
||||
color: rgb(255,255,0);
|
||||
}
|
||||
}
|
||||
transform {
|
||||
transform: rotate(270);
|
||||
child: color {
|
||||
bounds: 0 0 50 50;
|
||||
color: rgb(0,0,255);
|
||||
}
|
||||
}
|
||||
transform {
|
||||
transform: scale(2, -2);
|
||||
child: color {
|
||||
bounds: 25 -50 25 25;
|
||||
color: rgb(0,255,0);
|
||||
}
|
||||
}
|
||||
transform {
|
||||
transform: rotate(90) scale(-2);
|
||||
child: color {
|
||||
bounds: -50 -50 25 25;
|
||||
color: rgb(255,0,0);
|
||||
}
|
||||
}
|
||||
transform {
|
||||
transform: rotate(180) scale(-2, 2);
|
||||
child: color {
|
||||
bounds: -50 25 25 25;
|
||||
color: rgb(255,255,0);
|
||||
}
|
||||
}
|
||||
transform {
|
||||
transform: rotate(270) scale(2);
|
||||
child: color {
|
||||
bounds: 25 25 25 25;
|
||||
color: rgb(0,0,255);
|
||||
}
|
||||
}
|
||||
BIN
testsuite/gsk/compare/dihedral.png
Normal file
BIN
testsuite/gsk/compare/dihedral.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 221 B |
@@ -53,6 +53,7 @@ compare_render_tests = [
|
||||
'cross-fade-in-opacity',
|
||||
'cross-fade-in-rotate',
|
||||
'css-background',
|
||||
'dihedral',
|
||||
'empty-blend',
|
||||
'empty-blur',
|
||||
'empty-border',
|
||||
|
||||
Reference in New Issue
Block a user