Package: gsk

Function gsk:composite-node-new

Lambda List

gsk:composite-node-new (child mask op)

Arguments

child -- a gsk:render-node instance for the child to composite
mask -- a gsk:render-node instance for the mask the compositing will apply
op -- a gsk:porter-duff value

Return Value

The new gsk:composite-node instance.

Details

Creates a gsk:render-node instance that will composite the child onto the background with the given operator wherever the mask is set. Note that various operations can modify the background outside of the child’s bounds, so the mask may cause visual changes outside of the child.

Since 4.22
 

See also

#2026-10-31