Constructor
GskBlendNodenew
Declaration [src]
GskRenderNode*
gsk_blend_node_new (
GskRenderNode* bottom,
GskRenderNode* top,
GskBlendMode blend_mode
)
Description [src]
Creates a GskRenderNode that will use blend_mode to blend the top
node onto the bottom node.
Parameters
bottom-
Type:
GskRenderNodeThe bottom node to be drawn.
The data is owned by the caller of the function. top-
Type:
GskRenderNodeThe node to be blended onto the
bottomnode.The data is owned by the caller of the function. blend_mode-
Type:
GskBlendModeThe blend mode to use.
Return value
Type: GskBlendNode
A new GskRenderNode.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |