push_component_transfer


Description:

[ Version ( since = "4.20" ) ]
public void push_component_transfer (ComponentTransfer red, ComponentTransfer green, ComponentTransfer blue, ComponentTransfer alpha)

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 [method@Gtk.Snapshot.pop].

Parameters:

this

a `GtkSnapshot`

red

the transfer for the red component

green

the transfer for the green component

blue

the transfer for the blue component

alpha

the transfer for the alpha component