[ CCode ( has_construct_function = false , type = "GskRenderNode*" ) ]
public ColorMatrixNode (RenderNode child, Matrix color_matrix, Vec4 color_offset)
Creates a `GskRenderNode` that will drawn the child
with color_matrix
.
In particular, the node will transform the operation
pixel = color_matrix * pixel + color_offset
for every pixel.
child |
The node to draw |
color_matrix |
The matrix to apply |
color_offset |
Values to add to the color |
A new `GskRenderNode` |