summaryrefslogtreecommitdiff
path: root/gsk/gskrendernodeprivate.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2016-12-31 01:13:19 +0100
committerBenjamin Otte <otte@redhat.com>2016-12-31 02:49:47 +0100
commit7540702cf0196cf4890de87f4225165a5f2f53f2 (patch)
tree75b4d503a5fa153810416d63b568970a92a97e97 /gsk/gskrendernodeprivate.h
parent91741f6b634cc1317beefa062ab7b5547735fc87 (diff)
downloadgtk+-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/gskrendernodeprivate.h')
-rw-r--r--gsk/gskrendernodeprivate.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gsk/gskrendernodeprivate.h b/gsk/gskrendernodeprivate.h
index 729026370e..90deb10a48 100644
--- a/gsk/gskrendernodeprivate.h
+++ b/gsk/gskrendernodeprivate.h
@@ -46,6 +46,10 @@ GskRenderNode * gsk_render_node_deserialize_node (GskRenderNodeType type, GVaria
double gsk_opacity_node_get_opacity (GskRenderNode *node);
+GskRenderNode * gsk_color_matrix_node_get_child (GskRenderNode *node);
+const graphene_matrix_t * gsk_color_matrix_node_peek_color_matrix (GskRenderNode *node);
+const graphene_vec4_t * gsk_color_matrix_node_peek_color_offset (GskRenderNode *node);
+
const graphene_point_t * gsk_linear_gradient_node_peek_start (GskRenderNode *node);
const graphene_point_t * gsk_linear_gradient_node_peek_end (GskRenderNode *node);
const gsize gsk_linear_gradient_node_get_n_color_stops (GskRenderNode *node);