Constructor
GskMaskNodenew
unstable since: 4.10
Declaration [src]
GskRenderNode*
gsk_mask_node_new (
GskRenderNode* source,
GskRenderNode* mask
)
Description [src]
Creates a GskRenderNode
that will use blend_mode
to blend the top
node onto the bottom
node.
Available since: 4.10
Parameters
source
-
Type:
GskRenderNode
The bottom node to be drawn.
The data is owned by the caller of the function. mask
-
Type:
GskRenderNode
The node to be blended onto the
bottom
node.The data is owned by the caller of the function.
Return value
Type: GskMaskNode
A new GskRenderNode
The caller of the function takes ownership of the data, and is responsible for freeing it. |