Top |
ClutterClone implements ClutterContainer, ClutterScriptable, ClutterAnimatable and AtkImplementorIface.
ClutterClone is a ClutterActor which draws with the paint function of another actor, scaled to fit its own allocation.
ClutterClone can be used to efficiently clone any other actor.
Unlike clutter_texture_new_from_actor()
, ClutterClone does not require
the presence of support for FBOs in the underlying GL or GLES
implementation.
ClutterClone is available since Clutter 1.0
ClutterActor *
clutter_clone_new (ClutterActor *source
);
Creates a new ClutterActor which clones source
/
Since 1.0
void clutter_clone_set_source (ClutterClone *self
,ClutterActor *source
);
Sets source
as the source actor to be cloned by self
.
Since 1.0
ClutterActor *
clutter_clone_get_source (ClutterClone *self
);
Retrieves the source ClutterActor being cloned by self
.
Since 1.0
struct ClutterClone;
The ClutterClone structure contains only private data and should be accessed using the provided API
Since 1.0
struct ClutterCloneClass { };
The ClutterCloneClass structure contains only private data
Since 1.0
“source”
property“source” ClutterActor *
This property specifies the source actor being cloned.
Flags: Read / Write / Construct
Since 1.0