summaryrefslogtreecommitdiff
path: root/gtk/gtksnapshotprivate.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2016-11-17 02:14:10 +0100
committerBenjamin Otte <otte@redhat.com>2016-11-17 02:14:10 +0100
commit28b32d336f8ce3a36f4930cc3dd991264adc213a (patch)
tree7056ff2d3ab1d1c1aec983d00637c303a485a425 /gtk/gtksnapshotprivate.h
parent7493f906626e4800e7e05186d95291e48aaa89a7 (diff)
downloadgtk+-28b32d336f8ce3a36f4930cc3dd991264adc213a.tar.gz
snapshot: Pass the clip region to the snapshot
Diffstat (limited to 'gtk/gtksnapshotprivate.h')
-rw-r--r--gtk/gtksnapshotprivate.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk/gtksnapshotprivate.h b/gtk/gtksnapshotprivate.h
index 084331b525..c9899d004f 100644
--- a/gtk/gtksnapshotprivate.h
+++ b/gtk/gtksnapshotprivate.h
@@ -37,10 +37,12 @@ struct _GtkSnapshot {
GskRenderNode *root;
GskRenderer *renderer;
+ const cairo_region_t *clip_region;
};
void gtk_snapshot_init (GtkSnapshot *state,
- GskRenderer *renderer);
+ GskRenderer *renderer,
+ const cairo_region_t *clip);
GskRenderNode * gtk_snapshot_finish (GtkSnapshot *state);
static inline const graphene_matrix_t *