diff options
author | Benjamin Otte <otte@redhat.com> | 2018-03-20 02:46:57 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2018-03-26 18:16:36 +0200 |
commit | ce743f28a19a1d33fee9311c131791c4bb332596 (patch) | |
tree | 5d6f7c9dabe7dd1c1322fbffdf5a56fc8b1e9a43 /gsk/gskenums.h | |
parent | b8b6324c4c1c8017e92d9d832ac18f2358a52d65 (diff) | |
download | gtk+-ce743f28a19a1d33fee9311c131791c4bb332596.tar.gz |
rendernode: Add an offset node
This is a special case of the transform node that does a 2D translation.
The implementation in the Vulkan and GL renderers is crude and just does
the same as the transform node.
Nothing uses that node yet.
Diffstat (limited to 'gsk/gskenums.h')
-rw-r--r-- | gsk/gskenums.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gsk/gskenums.h b/gsk/gskenums.h index 5c20ef39d9..9835774152 100644 --- a/gsk/gskenums.h +++ b/gsk/gskenums.h @@ -35,6 +35,7 @@ * @GSK_INSET_SHADOW_NODE: A node drawing an inset shadow * @GSK_OUTSET_SHADOW_NODE: A node drawing an outset shadow * @GSK_TRANSFORM_NODE: A node that renders its child after applying a matrix transform + * @GSK_OFFSET_NODE: A node that renders its child after applying a 2D translation * @GSK_OPACITY_NODE: A node that changes the opacity of its child * @GSK_COLOR_MATRIX_NODE: A node that applies a color matrix to every pixel * @GSK_REPEAT_NODE: A node that repeats the child's contents @@ -62,6 +63,7 @@ typedef enum { GSK_INSET_SHADOW_NODE, GSK_OUTSET_SHADOW_NODE, GSK_TRANSFORM_NODE, + GSK_OFFSET_NODE, GSK_OPACITY_NODE, GSK_COLOR_MATRIX_NODE, GSK_REPEAT_NODE, |