Class
ClutterCanvas
Description [src]
class Clutter.Canvas : GObject.Object {
/* No available fields */
}
The ClutterCanvas
structure contains
private data and should only be accessed using the provided
API.
Available since: | 1.10 |
Instance methods
clutter_canvas_get_scale_factor
Gets the scale factor of the canvas
.
clutter_canvas_set_scale_factor
Sets the scaling factor of the canvas
, and invalidates the content.
clutter_canvas_set_size
Sets the size of the canvas
, and invalidates the content.
Available since: 1.10
Methods inherited from ClutterContent (3)
clutter_content_get_preferred_size
Retrieves the natural size of the content
, if any.
Available since: 1.10
clutter_content_invalidate
Invalidates a ClutterContent
.
Available since: 1.10
clutter_content_invalidate_size
Signals that content
‘s size changed. Attached actors with request mode
set to CLUTTER_REQUEST_CONTENT_SIZE
will have a relayout queued.
Properties
Clutter.Canvas:scale-factor
The height of the canvas.
Signals
Clutter.Canvas::draw
The ClutterCanvas::draw
signal is emitted each time a canvas is invalidated.
Available since: 1.10
Signals inherited from GObject (1)
GObject.Object::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
Signals inherited from ClutterContent (2)
Clutter.Content::attached
This signal is emitted each time a ClutterContent
implementation is
assigned to a ClutterActor
.
Available since: 1.10
Clutter.Content::detached
This signal is emitted each time a ClutterContent
implementation is
removed from a ClutterActor
.
Available since: 1.10
Class structure
struct ClutterCanvasClass {
gboolean (* draw) (
ClutterCanvas* canvas,
cairo_t* cr,
int width,
int height
);
}
Class members
draw |
|
No description available. |