1.21 <GskIsolationNode>

Class: <GskIsolationNode>

It derives from <GskRenderNode>.

A render node that isolates its child from surrounding rendernodes.

Procedures

Method: isolation-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 <GskIsolationNode>.

an isolation <GskRenderNode>

%return

Returned: a <GskRenderNode>.

the child <GskRenderNode>

Method: isolation-node:get-isolations self ⇒ %return
Method: get-isolations self ⇒ %return

Gets the isolation features that are enforced by this node.

self

Passed: a <GskIsolationNode>.

an isolation <GskRenderNode>

%return

Returned: a <GskIsolation>.

the isolation features

Procedure: isolation-node:new child isolations ⇒ %return

Creates a <GskRenderNode> that isolates the drawing operations of the child from surrounding ones.

You can express "everything but these flags" in a forward compatible way by using bit math: GSK_ISOLATION_ALL & ~(GSK_ISOLATION_BACKGROUND | GSK_ISOLATION_COPY_PASTE) will isolate everything but background and copy/paste.

For the available isolations, see <GskIsolation>.

child

Passed: a <GskRenderNode>.

The child

isolations

Passed: a <GskIsolation>, or a list of its symbols, or one of them.

features to isolate

%return

Returned: a <GskIsolationNode>.

A new <GskRenderNode>