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 /gsk/gsktransform.h | |
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 'gsk/gsktransform.h')
-rw-r--r-- | gsk/gsktransform.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gsk/gsktransform.h b/gsk/gsktransform.h index 19552a0add..6cbe3659f2 100644 --- a/gsk/gsktransform.h +++ b/gsk/gsktransform.h @@ -105,6 +105,9 @@ GskTransform * gsk_transform_scale_3d (GskTransform float factor_x, float factor_y, float factor_z); +GDK_AVAILABLE_IN_ALL +GskTransform * gsk_transform_perspective (GskTransform *next, + float depth); GDK_AVAILABLE_IN_ALL void gsk_transform_transform_bounds (GskTransform *self, |