Clutter::Clone(3) 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-only / private)
Specifies the actor to be cloned

COPYRIGHT

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.