alloc


Description:

public static Rect? alloc ()

Creates a new, empty Rect.

You can use init to initialize the returned rectangle, for instance:

  rect = clutter_rect_init (clutter_rect_alloc (), x, y, width, height);

Returns:

the newly allocated Rect. Use free to free its resources