1.1 <GskBlendNode>

Class: <GskBlendNode>

It derives from <GskRenderNode>.

A render node applying a blending function between its two child nodes.

Procedures

Method: blend-node:get-blend-mode self ⇒ %return
Method: get-blend-mode self ⇒ %return

Retrieves the blend mode used by self.

self

Passed: a <GskBlendNode>.

a blending <GskRenderNode>

%return

Returned: a <GskBlendMode>.

the blend mode

Method: blend-node:get-bottom-child self ⇒ %return
Method: get-bottom-child self ⇒ %return

Retrieves the bottom <GskRenderNode> child of the self.

self

Passed: a <GskBlendNode>.

a blending <GskRenderNode>

%return

Returned: a <GskRenderNode>.

the bottom child node

Method: blend-node:get-top-child self ⇒ %return
Method: get-top-child self ⇒ %return

Retrieves the top <GskRenderNode> child of the self.

self

Passed: a <GskBlendNode>.

a blending <GskRenderNode>

%return

Returned: a <GskRenderNode>.

the top child node

Procedure: blend-node:new bottom top blend-mode ⇒ %return

Creates a <GskRenderNode> that will use blend-mode to blend the top node onto the bottom node.

bottom

Passed: a <GskRenderNode>.

The bottom node to be drawn

top

Passed: a <GskRenderNode>.

The node to be blended onto the bottom node

blend-mode

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

The blend mode to use

%return

Returned: a <GskBlendNode>.

A new <GskRenderNode>