Clutter::Clone(3pm)

Clutter::Clone3pm

An actor that displays a clone of a source actor

Usage

    my $clone = Clutter::Clone->new($actor);

Overview

Clutter::Clone is a Clutter::Actor which draws with the paint function of another actor, scaled to fit its own allocation.

Clutter::Clone can be used to efficiently clone any other actor, including containers.

Note: This is different from Clutter::Texture::new_from_actor() which requires support for FBOs in the underlying GL implementation.

Hierarchy

  Glib::Object
  +----Glib::InitiallyUnowned
       +----Clutter::Actor
            +----Clutter::Clone

Interfaces

  Glib::Object::_Unregistered::ClutterScriptable

Methods

actor = Clutter::Clone->new ($source)

•

$source (Clutter::Actor)

actor = $clone->get_source

$clone->set_source ($source)

•

$source (Clutter::Actor)

Properties

'source' (Clutter::Actor : readable / writable / construct-only / private)

Specifies the actor to be cloned

From libclutter-perl 1.002-1 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.