Clutter::Texture::Cairo.3pm

Langue: en

Autres versions - même langue

Version: 2008-07-23 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

Clutter::Texture::Cairo

HIERARCHY

   Glib::Object
   +----Glib::InitiallyUnowned
        +----Clutter::Actor
             +----Clutter::Texture
                  +----Clutter::Texture::Cairo
 
 

INTERFACES

   Glib::Object::_Unregistered::ClutterScriptable
 
 

METHODS


actor = Clutter::Texture::Cairo->new ($width, $height)


actor = Clutter::Texture::Cairo->new ($width, $height)

$width (integer)
$height (integer)

scalar = $texture->create_context


scalar = $texture->create_context


scalar = $texture->create_region_context ($x_offset, $y_offset, $width, $height)


scalar = $texture->create_region_context ($x_offset, $y_offset, $width, $height)

$x_offset (integer)
$y_offset (integer)
$width (integer)
$height (integer)

$cr->set_source_color ($color)


$cr->set_source_color ($color)

$color (Clutter::Color)

$texture->surface_resize ($width, $height)


$texture->surface_resize ($width, $height)

$width (integer)
$height (integer)

PROPERTIES

'surface-height' (integer : readable / writable / construct-only / private)
Surface Height
'surface-width' (integer : readable / writable / construct-only / private)
Surface Width

SEE ALSO

Clutter, Glib::Object, Glib::InitiallyUnowned, Clutter::Actor, Clutter::Texture Copyright (C) 2006 OpenedHand Ltd.

This module is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public Library version 2.1, or under the terms of the Artistic License. See Clutter for the full copyright notice.