diff options
author | Benjamin Otte <otte@redhat.com> | 2016-12-13 03:05:15 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2016-12-20 18:01:10 +0100 |
commit | e82d02432e57b00606976e8a84e06628dd9d4918 (patch) | |
tree | 61ca9bf52340f34af57eac21c623dbcd7cc461d8 /gsk/gskrendernodeprivate.h | |
parent | 02131d590e2f4bdf9d2f487e619a3f08c1cf178e (diff) | |
download | gtk+-e82d02432e57b00606976e8a84e06628dd9d4918.tar.gz |
gsk: Add gsk_render_node_draw()
Draws a node to a given cairo_t. This is mostly intended for fallback
usage.
Diffstat (limited to 'gsk/gskrendernodeprivate.h')
-rw-r--r-- | gsk/gskrendernodeprivate.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gsk/gskrendernodeprivate.h b/gsk/gskrendernodeprivate.h index 85117f4aa7..239e64dc70 100644 --- a/gsk/gskrendernodeprivate.h +++ b/gsk/gskrendernodeprivate.h @@ -40,6 +40,8 @@ struct _GskRenderNodeClass const char *type_name; void (* finalize) (GskRenderNode *node); void (* make_immutable) (GskRenderNode *node); + void (* draw) (GskRenderNode *node, + cairo_t *cr); void (* get_bounds) (GskRenderNode *node, graphene_rect_t *bounds); }; |