Rechercher une page de manuel
Gtk2::CV::ImageWindow.3pm
Langue: en
Version: 2007-12-11 (mandriva - 01/05/08)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
Gtk2::CV::ImageWindow - a window widget displaying an image or other mediaSYNOPSIS
use Gtk2::CV::ImageWindow;
DESCRIPTION
METHODS
- $img->set_image ($gdk_pixbuf[, $type])
- Replace the currently-viewed image by the given pixbuf.
- $img->clear_image
- Removes the current image (usually replacing it by the default image).
- $img->load_image ($path)
- Tries to load the given file (if it is an image), or embeds mplayer (if mplayer supports it).
- $img->resize_maxpect
- Resize the image so it is maximally large.
- $img->resize ($width, $height)
- Resize the image window to the given size.
- $img->uncrop
- Undo any cropping; Show the full image.
- $img->crop ($x1, $y1, $x2, $y2)
- Crop the image to the specified rectangle.
AUTHOR
Marc Lehmann <schmorp@schmorp.de>Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre