ClutterClone

## ClutterClone ClutterClone — An actor that displays a clone of a source actor |

## Synopsis

                        ClutterClone;
                        ClutterCloneClass;
    ClutterActor *      clutter_clone_new                   (ClutterActor *source);
    void                clutter_clone_set_source            (ClutterClone *clone,
                                                             ClutterActor *source);
    ClutterActor *      clutter_clone_get_source            (ClutterClone *clone);

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----ClutterActor
                   +----ClutterClone

## Implemented Interfaces

ClutterClone implements ClutterScriptable.

## Properties

      "source"                   ClutterActor*         : Read / Write / Construct Only

## Description

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.

### Note

This is different from `clutter_texture_new_from_actor()` which requires support for FBOs in the underlying GL implementation.

ClutterClone is available since Clutter 1.0

## Details

### ClutterClone

    typedef struct _ClutterClone ClutterClone;

The ClutterClone structure contains only private data and should be accessed using the provided API

Since 1.0

### ClutterCloneClass

    typedef struct {
    } ClutterCloneClass;

The ClutterCloneClass structure contains only private data

Since 1.0

### clutter_clone_new ()

    ClutterActor *      clutter_clone_new                   (ClutterActor *source);

Creates a new ClutterActor which clones `source`/

`source` : | a ClutterActor, or `NULL`
Returns : | the newly created ClutterClone

Since 1.0

### clutter_clone_set_source ()

    void                clutter_clone_set_source            (ClutterClone *clone,
                                                             ClutterActor *source);

Sets `source` as the source actor to be cloned by `clone`.

`clone` : | a ClutterClone
`source` : | a ClutterActor, or `NULL`

Since 1.0

### clutter_clone_get_source ()

    ClutterActor *      clutter_clone_get_source            (ClutterClone *clone);

Retrieves the source ClutterActor being cloned by `clone`

`clone` : | a ClutterClone
Returns : | the actor source for the clone. transfer none.

Since 1.0

## Property Details

### The `"source"` property

      "source"                   ClutterActor*         : Read / Write / Construct Only

This property specifies the source actor being cloned.

Since 1.0