gtk/testsuite/gsk/compare/fill-scaled-up.node
Benjamin Otte a0e9d93b4c testsuite: Add a test for previous fix
Fill a rectangle with fractional coordinates << 1.0 but scale it up so
that it ends up being nice integers.

Makes sure that nobody does any bad rounding here.
2024-01-08 11:17:09 +01:00

15 lines
260 B
Plaintext

transform {
transform: scale(80);
child: container {
fill {
child: color {
bounds: -0.125 -0.125 0.25 0.25;
color: rgb(0,0,0);
}
path: "\
M -0.125 -0.125 h 0.25 v 0.25 h -0.25 z";
fill-rule: winding;
}
}
}