Constructor
GskShadowNodenew
Declaration [src]
GskRenderNode*
gsk_shadow_node_new (
GskRenderNode* child,
const GskShadow* shadows,
gsize n_shadows
)
Parameters
child-
Type:
GskRenderNodeThe node to draw.
The data is owned by the caller of the function. shadows-
Type: An array of
GskShadowThe shadows to apply.
The length of the array is specified in the n_shadowsargument.The data is owned by the caller of the function. n_shadows-
Type:
gsizeNumber of entries in the
shadowsarray.
Return value
Type: GskShadowNode
A new GskRenderNode.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |