diff options
author | Benjamin Otte <otte@redhat.com> | 2016-12-31 01:13:19 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2016-12-31 02:49:47 +0100 |
commit | 7540702cf0196cf4890de87f4225165a5f2f53f2 (patch) | |
tree | 75b4d503a5fa153810416d63b568970a92a97e97 /gsk/gskrendernode.h | |
parent | 91741f6b634cc1317beefa062ab7b5547735fc87 (diff) | |
download | gtk+-7540702cf0196cf4890de87f4225165a5f2f53f2.tar.gz |
gsk: Add GskColorMatrixNode
This node essentially implements the feColorMatrix SVG filter. I got the
idea yesterday after looking at the opacity implementation.
It can be used for opacity (not sure if we want to) and to implement a
bunch of the CSS filters.
Diffstat (limited to 'gsk/gskrendernode.h')
-rw-r--r-- | gsk/gskrendernode.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gsk/gskrendernode.h b/gsk/gskrendernode.h index 649dc697e4..e4a75ab490 100644 --- a/gsk/gskrendernode.h +++ b/gsk/gskrendernode.h @@ -135,6 +135,11 @@ GDK_AVAILABLE_IN_3_90 GskRenderNode * gsk_opacity_node_get_child (GskRenderNode *node); GDK_AVAILABLE_IN_3_90 +GskRenderNode * gsk_color_matrix_node_new (GskRenderNode *child, + const graphene_matrix_t *color_matrix, + const graphene_vec4_t *color_offset); + +GDK_AVAILABLE_IN_3_90 GskRenderNode * gsk_clip_node_new (GskRenderNode *child, const graphene_rect_t *clip); GDK_AVAILABLE_IN_3_90 |