summaryrefslogtreecommitdiff
path: root/gsk/gskrendernodeprivate.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2016-12-13 03:05:15 +0100
committerBenjamin Otte <otte@redhat.com>2016-12-20 18:01:10 +0100
commite82d02432e57b00606976e8a84e06628dd9d4918 (patch)
tree61ca9bf52340f34af57eac21c623dbcd7cc461d8 /gsk/gskrendernodeprivate.h
parent02131d590e2f4bdf9d2f487e619a3f08c1cf178e (diff)
downloadgtk+-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.h2
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);
};