diff options
author | Benjamin Otte <otte@redhat.com> | 2016-12-13 04:22:13 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2016-12-20 18:01:10 +0100 |
commit | b1200756981a9d7c0f1862402e09d195627af4f6 (patch) | |
tree | 729f3cb59b43fa25a306c9cfc358261357db917b /gtk/gtksnapshot.h | |
parent | ee9aca882d098a08a6e82a5f4d12dc437a2aff79 (diff) | |
download | gtk+-b1200756981a9d7c0f1862402e09d195627af4f6.tar.gz |
snapshot: Add API for colors and textures
Diffstat (limited to 'gtk/gtksnapshot.h')
-rw-r--r-- | gtk/gtksnapshot.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gtk/gtksnapshot.h b/gtk/gtksnapshot.h index 2c62533400..8a2cc4ac1e 100644 --- a/gtk/gtksnapshot.h +++ b/gtk/gtksnapshot.h @@ -64,6 +64,18 @@ cairo_t * gtk_snapshot_append_cairo_node (GtkSnapshot const graphene_rect_t *bounds, const char *name, ...) G_GNUC_PRINTF(3, 4); +GDK_AVAILABLE_IN_3_90 +void gtk_snapshot_append_texture_node (GtkSnapshot *snapshot, + GskTexture *texture, + const graphene_rect_t *bounds, + const char *name, + ...) G_GNUC_PRINTF (4, 5); +GDK_AVAILABLE_IN_3_90 +void gtk_snapshot_append_color_node (GtkSnapshot *snapshot, + const GdkRGBA *color, + const graphene_rect_t *bounds, + const char *name, + ...) G_GNUC_PRINTF (4, 5); GDK_AVAILABLE_IN_3_90 gboolean gtk_snapshot_clips_rect (GtkSnapshot *snapshot, |