summaryrefslogtreecommitdiff
path: root/gtk/gtksnapshot.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2019-03-05 09:27:30 +0100
committerBenjamin Otte <otte@redhat.com>2019-03-05 20:46:00 +0100
commit3a3b325f8ebba43fafac574046630a02eae21146 (patch)
treec7d2ab3998821ada2775b6cbab10037940cd1bf5 /gtk/gtksnapshot.h
parentdbe58452d75d97f10650728b69c8981e33dc74d8 (diff)
downloadgtk+-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 'gtk/gtksnapshot.h')
-rw-r--r--gtk/gtksnapshot.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtksnapshot.h b/gtk/gtksnapshot.h
index d0e8dd9a4f..91c050d048 100644
--- a/gtk/gtksnapshot.h
+++ b/gtk/gtksnapshot.h
@@ -134,6 +134,9 @@ void gtk_snapshot_scale_3d (GtkSnapshot
float factor_y,
float factor_z);
GDK_AVAILABLE_IN_ALL
+void gtk_snapshot_perspective (GtkSnapshot *snapshot,
+ float depth);
+GDK_AVAILABLE_IN_ALL
void gtk_snapshot_append_node (GtkSnapshot *snapshot,
GskRenderNode *node);
GDK_AVAILABLE_IN_ALL