Class: Clutter::PaintNode

Inherits:
Object
  • Object
show all
Defined in:
(unknown)

Overview

The ClutterPaintNodeClass structure contains only private data.

Direct Known Subclasses

ClipNode, PipelineNode, TextNode

Instance Method Summary collapse

Instance Method Details

#add_child(child) ⇒ nil

Adds child to the list of children of node.

This function will acquire a reference on child.

Parameters:

Returns:

  • (nil)

#add_rectangle(rect) ⇒ nil

Adds a rectangle region to the node, as described by the passed rect.

Parameters:

  • rect (Clutter::ActorBox)

    a Clutter::ActorBox

Returns:

  • (nil)

#add_texture_rectangle(rect, x_1, y_1, x_2, y_2) ⇒ nil

Adds a rectangle region to the node, with texture coordinates.

Parameters:

  • rect (Clutter::ActorBox)

    a Clutter::ActorBox

  • x_1 (Clutter::gfloat)

    the left X coordinate of the texture

  • y_1 (Clutter::gfloat)

    the top Y coordinate of the texture

  • x_2 (Clutter::gfloat)

    the right X coordinate of the texture

  • y_2 (Clutter::gfloat)

    the bottom Y coordinate of the texture

Returns:

  • (nil)

#name=(name) ⇒ nil

Sets a user-readable name for node.

The name will be used for debugging purposes.

The node will copy the passed string.

Parameters:

  • name (String)

    a string annotating the node

Returns:

  • (nil)

#refClutter::PaintNode

Acquires a reference on node.

Returns:

#unrefnil

Releases a reference on node.

Returns:

  • (nil)