Clutter::Clone.3pm

Langue: en

Version: 2010-08-25 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

NAME

Clutter::Clone - An actor that displays a clone of a source actor

SYNOPSIS

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

DESCRIPTION

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 / private)
Specifies the actor to be cloned

SEE ALSO

Clutter, Glib::Object, Glib::InitiallyUnowned, Clutter::Actor Copyright (C) 2006, 2007, 2008 OpenedHand Ltd

Copyright (C) 2009 Intel Corporation

This module is free software; you can redistribute it and/or modify it under the terms of either:

the GNU Lesser General Public Library version 2.1; or
the Artistic License, version 2.0.

See Clutter for the full copyright notice.