diff options
author | Benjamin Otte <otte@redhat.com> | 2019-03-05 09:27:30 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2019-03-05 20:46:00 +0100 |
commit | 3a3b325f8ebba43fafac574046630a02eae21146 (patch) | |
tree | c7d2ab3998821ada2775b6cbab10037940cd1bf5 /testsuite | |
parent | dbe58452d75d97f10650728b69c8981e33dc74d8 (diff) | |
download | gtk+-3a3b325f8ebba43fafac574046630a02eae21146.tar.gz |
transform: Add perspective()
This commit adds gsk_transform_perspective(), gtk_snapshot_perspective()
and support for perspective() in the CSS syntax.
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/gtk/transform.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/gtk/transform.c b/testsuite/gtk/transform.c index b3db0881cf..6026463b90 100644 --- a/testsuite/gtk/transform.c +++ b/testsuite/gtk/transform.c @@ -85,6 +85,7 @@ static struct { { GSK_TRANSFORM_CATEGORY_3D }, { GSK_TRANSFORM_CATEGORY_2D_AFFINE }, { GSK_TRANSFORM_CATEGORY_3D }, + { GSK_TRANSFORM_CATEGORY_ANY }, }; static GskTransform * @@ -117,6 +118,9 @@ apply_test_transform (GskTransform *transform, case 7: return gsk_transform_scale_3d (transform, 2, 3, 5); + case 8: + return gsk_transform_perspective (transform, 5); + default: g_assert_not_reached (); return NULL; |