Constructor
GskComponentTransferNodenew
since: 4.20
Declaration [src]
GskRenderNode*
gsk_component_transfer_node_new (
GskRenderNode* child,
const GskComponentTransfer* r,
const GskComponentTransfer* g,
const GskComponentTransfer* b,
const GskComponentTransfer* a
)
Description [src]
Creates a render node that will apply component transfers to a child node.
Available since: 4.20
Parameters
child-
Type:
GskRenderNodeThe child to apply component transfers to.
The data is owned by the caller of the function. r-
Type:
GskComponentTransferTransfer for the red component.
The data is owned by the caller of the function. g-
Type:
GskComponentTransferTransfer for the green component.
The data is owned by the caller of the function. b-
Type:
GskComponentTransferTransfer for the blue component.
The data is owned by the caller of the function. a-
Type:
GskComponentTransferTransfer for the alpha component.
The data is owned by the caller of the function.
Return value
Type: GskComponentTransferNode
A new GskRenderNode.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |