ColorMatrixNode.this

this(void * ptr, Flag!"Take" take)
No documentation available for this declaration.

Creates a [gsk.render_node.RenderNode] that will drawn the child with color_matrix.

In particular, the node will transform colors by applying

pixel = transpose(color_matrix) * pixel + color_offset

for every pixel. The transformation operates on unpremultiplied colors, with color components ordered R, G, B, A.

Parameters

childThe node to draw
colorMatrixThe matrix to apply
colorOffsetValues to add to the color

Returns

A new [gsk.render_node.RenderNode]