mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
1d6134f87d
This also adds some build magic so all tests that contain "-3d" in them won't be added to the Cairo renderer. Of course, this new test is such a test.
20 lines
405 B
Plaintext
20 lines
405 B
Plaintext
transform {
|
|
/* adding the perspective line here turns the matrix from a 2D
|
|
category into a 3D category. It does not have any visual effect. */
|
|
transform: perspective(200) scale(2);
|
|
child: container {
|
|
color {
|
|
bounds: 0 0 50 50;
|
|
color: transparent;
|
|
}
|
|
|
|
clip {
|
|
clip: 10 10 30 30;
|
|
child: color {
|
|
bounds: 0 0 50 50;
|
|
color: red;
|
|
}
|
|
}
|
|
}
|
|
}
|