1.10 <GskComponentTransferNode>

Class: <GskComponentTransferNode>

It derives from <GskRenderNode>.

A render node for applying a <GskComponentTransfer> for each color component of the child node.

Procedures

Method: component-transfer-node:get-child self ⇒ %return
Method: get-child self ⇒ %return

Gets the child node that is getting drawn by the given self.

self

Passed: a <GskComponentTransferNode>.

a component transfer <GskRenderNode>

%return

Returned: a <GskRenderNode>.

the child <GskRenderNode>

Method: component-transfer-node:get-transfer self component ⇒ %return
Method: get-transfer self component ⇒ %return

Gets the component transfer for one of the components.

self

Passed: a <GskComponentTransferNode>.

a component transfer <GskRenderNode>

component

Passed: a <GdkColorChannel>, or one of its symbols.

the component to get the transfer for

%return

Returned: a <GskComponentTransfer>.

the <GskComponentTransfer>

Procedure: component-transfer-node:new child r g b a ⇒ %return

Creates a render node that will apply component transfers to a child node.

child

Passed: a <GskRenderNode>.

The child to apply component transfers to

r

Passed: a <GskComponentTransfer>.

transfer for the red component

g

Passed: a <GskComponentTransfer>.

transfer for the green component

b

Passed: a <GskComponentTransfer>.

transfer for the blue component

a

Passed: a <GskComponentTransfer>.

transfer for the alpha component

%return

Returned: a <GskComponentTransferNode>.

A new <GskRenderNode>