Goo::Canvas::ImageModel.3pm

Langue: en

Autres versions - même langue

Version: 2010-05-12 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

Goo::Canvas::ImageModel

HIERARCHY

   Glib::Object
   +----Goo::Canvas::ItemModelSimple
        +----Goo::Canvas::ImageModel
 
 

INTERFACES

   Goo::Canvas::ItemModel
 
 

METHODS

itemmodel = Goo::Canvas::ImageModel->new ($parent, $pixbuf, $x, $y, ...)

*
$parent (Goo::Canvas::ItemModel)
*
$pixbuf ((unknown))
*
$x (double)
*
$y (double)
*
... (list)

PROPERTIES

'height' (double : readable / writable)
The height of the image
'pattern' (Goo::Cairo::Pattern : readable / writable)
The cairo pattern to paint
'pixbuf' (Gtk2::Gdk::Pixbuf : writable)
The GdkPixbuf to display
'scale-to-fit' (boolean : readable / writable)
If the image is scaled to fit the width and height settings
'width' (double : readable / writable)
The width of the image
'x' (double : readable / writable)
The x coordinate of the image
'y' (double : readable / writable)
The y coordinate of the image

SEE ALSO

Glib::Object, Goo::Canvas::ItemModelSimple Copyright (C) 2010 Gtk2-Perl Team