summaryrefslogtreecommitdiff
path: root/gsk/gskenums.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2016-12-13 09:37:51 +0100
committerBenjamin Otte <otte@redhat.com>2016-12-20 18:01:10 +0100
commit1f988d8b050b039f031122e906b0abb72f227cac (patch)
tree1a937bdd461be22133dd0794d3a1bbc49393e209 /gsk/gskenums.h
parent68a54ae81fde71422beee789bb3e1a152b4722b5 (diff)
downloadgtk+-1f988d8b050b039f031122e906b0abb72f227cac.tar.gz
gsk: Add gsk_clip_node_new()
The node is a simple clipping node: It does a rectangular clip of its contents.
Diffstat (limited to 'gsk/gskenums.h')
-rw-r--r--gsk/gskenums.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gsk/gskenums.h b/gsk/gskenums.h
index caba77f6ab..7b37715ee6 100644
--- a/gsk/gskenums.h
+++ b/gsk/gskenums.h
@@ -32,6 +32,7 @@
* @GSK_TRANSFORM_NODE: A node that renders its child after applying a
* matrix transform
* @GSK_OPACITY_NODE: A node that changes the opacity of its child
+ * @GSK_CLIP_NODE: A node that clips its child to a rectangular area
*
* The type of a node determines what the node is rendering.
*
@@ -44,7 +45,8 @@ typedef enum {
GSK_COLOR_NODE,
GSK_TEXTURE_NODE,
GSK_TRANSFORM_NODE,
- GSK_OPACITY_NODE
+ GSK_OPACITY_NODE,
+ GSK_CLIP_NODE
} GskRenderNodeType;
/**