mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-03 17:21:11 +00:00
a0e9d93b4c
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.
15 lines
260 B
Plaintext
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;
|
|
}
|
|
}
|
|
}
|