ColorMatrixNode.this

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.

  1. this(GskColorMatrixNode* gskColorMatrixNode, bool ownedRef)
  2. this(RenderNode child, Matrix colorMatrix, Vec4 colorOffset)
    class ColorMatrixNode

Parameters

child RenderNode

The node to draw

colorMatrix Matrix

The matrix to apply

colorOffset Vec4

Values to add to the color

Return Value

A new GskRenderNode

Throws

ConstructionException GTK+ fails to create the object.

Meta