testsuite: Add tests for dihedral transforms

Just to make sure stuff shows up in the right place.
This commit is contained in:
Benjamin Otte
2024-07-09 20:43:58 +02:00
parent 9272bf96f6
commit efacf2ff09
3 changed files with 56 additions and 0 deletions

View 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);
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 221 B

View File

@@ -53,6 +53,7 @@ compare_render_tests = [
'cross-fade-in-opacity',
'cross-fade-in-rotate',
'css-background',
'dihedral',
'empty-blend',
'empty-blur',
'empty-border',