diff options
author | Benjamin Otte <otte@redhat.com> | 2016-12-19 05:13:42 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2016-12-20 18:01:12 +0100 |
commit | fcc1f554d6ae5169c6156ce33ea7d2a916992b2a (patch) | |
tree | 5b1118706f15ac627cedbe5ace17b09634718fd2 /gsk/gskrendernode.h | |
parent | 4fc64ae3dd5dde99b0a47e184b9428635012825c (diff) | |
download | gtk+-fcc1f554d6ae5169c6156ce33ea7d2a916992b2a.tar.gz |
gsk: Add GskInsetShadowNode
And again lots of shadow code gets copied to GSK. But we're now almost
at a stage where widget-factory does not use cairo nodes anymore.
Diffstat (limited to 'gsk/gskrendernode.h')
-rw-r--r-- | gsk/gskrendernode.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gsk/gskrendernode.h b/gsk/gskrendernode.h index 1c4620737b..6fc8724626 100644 --- a/gsk/gskrendernode.h +++ b/gsk/gskrendernode.h @@ -89,6 +89,14 @@ GskRenderNode * gsk_border_node_new (const GskRounde const GdkRGBA border_color[4]); GDK_AVAILABLE_IN_3_90 +GskRenderNode * gsk_inset_shadow_node_new (const GskRoundedRect *outline, + const GdkRGBA *color, + float dx, + float dy, + float spread, + float blur_radius); + +GDK_AVAILABLE_IN_3_90 GskRenderNode * gsk_cairo_node_new (const graphene_rect_t *bounds); GDK_AVAILABLE_IN_3_90 cairo_t * gsk_cairo_node_get_draw_context (GskRenderNode *node, |