SignalconnectSignalconnect_SignalemitStaticnewthe child Clutter.PaintNode to add
Adds a rectangle region to the node, with multitexture coordinates.
array of multitexture values
number of items of text_coords
Adds a rectangle region to the node, as described by the
passed rect.
Adds a series of rectangles to node.
As a general rule for better performance its recommended to use this API
instead of calling clutter_paint_node_add_rectangle() separately for
multiple rectangles if all of the rectangles will be drawn together.
See cogl_framebuffer_draw_rectangles().
array of coordinates containing groups of 4 float values: [x_1, y_1, x_2, y_2] that are interpreted as two position coordinates; one for the top left of the rectangle (x1, y1), and one for the bottom right of the rectangle (x2, y2).
Adds a rectangle region to the node, with texture coordinates.
the left X coordinate of the texture
the top Y coordinate of the texture
the right X coordinate of the texture
the bottom Y coordinate of the texture
Adds a series of rectangles to node.
The given texture coordinates should always be normalized such that (0, 0) corresponds to the top left and (1, 1) corresponds to the bottom right. To map an entire texture across the rectangle pass in s_1=0, t_1=0, s_2=1, t_2=1.
See cogl_framebuffer_draw_textured_rectangles().
array containing groups of 8 float values: [x_1, y_1, x_2, y_2, s_1, t_1, s_2, t_2] that have the same meaning as the arguments for cogl_framebuffer_draw_textured_rectangle().
Retrieves the Cogl.Framebuffer that node will draw
into. If node doesn't specify a custom framebuffer,
the first ancestor with a custom framebuffer will be
used.
a Cogl.Framebuffer or null if no custom one is set.
Paints the node using the class implementation, traversing
its children, if any.
Sets a user-readable name for node.
The name will be used for debugging purposes.
The node will intern name using g_intern_string(). If you have access to a
static string, use clutter_paint_node_set_static_name() instead.
a string annotating the node
Releases a reference on node.
Adds
childto the list of children ofnode.This function will acquire a reference on
child.