Package: gtk

Function gtk:snapshot-push-component-transfer

Lambda List

gtk:snapshot-push-component-transfer (snapshot red green bue alpha)

Arguments

snapshot -- a gtk:snapshot object
red -- a gsk:component-transfer instance for the red component
green -- a gsk:component-transfer instance for the green component
blue -- a gsk:component-transfer instance for the blue component
alpha -- a gsk:component-transfer instance for the alpha component

Details

Modifies the colors of an image by applying a transfer function for each component. The transfer functions operate on unpremultiplied colors. The image is recorded until the next call to the gtk:snapshot-pop function.

Since 4.20
 

See also

#2026-05-22