pushColorMatrix
open fun pushColorMatrix(colorMatrix: <Error class: unknown class>, colorOffset: <Error class: unknown class>)
Modifies the colors of an image by applying an affine transformation in RGB space.
In particular, the colors will be transformed by applying
pixel = transpose(color_matrix) * pixel + color_offset
Content copied to clipboard
for every pixel. The transformation operates on unpremultiplied colors, with color components ordered R, G, B, A.
The image is recorded until the next call to method@Gtk.Snapshot.pop.
Parameters
colorMatrix
the color matrix to use
colorOffset
the color offset to use