NAME
Gimp::OO - Pseudo-OO for Gimp functions.
SYNOPSIS
use Gimp;
[yes, the functionality has been moved into the Gimp module]
DESCRIPTION
The following classes are available to the user (you can drop the Gimp:: prefix from all packages):
All gimp functions can be called through these modules, there is some simple rewriting going on, for example Gimp::Edit::gimp_quit is the same as Gimp::gimp_quit. Further examples:
$img=Gimp::Image::new(60,300,RGB) get's translated to $img=gimp_image_new(60,300,RGB).
$img->delete get's translated to gimp_image_delete ($img).
Palette::set_foreground get's translated to gimp_palette_set_foreground
See example-oo.pl for a working extension using these techniques.
The following modules (with and without Gimp::) are available, with the indicated rewritings:
- Layer
-
gimp_layer_*
gimp_drawable_*
gimp_*
- Image
-
gimp_image_*
gimp_*
- Drawable
-
gimp_drawable_*
gimp_*
- Selection
-
gimp_selection_*
- Channel
-
gimp_channel_*
gimp_drawable_*
gimp_*
- Display
-
gimp_display_*
gimp_*
- Palette
-
gimp_palette_*
- Plugin
-
plug_in_*
- Gradients
-
gimp_gradients_*
- Edit
-
gimp_edit_*
- Progress
-
gimp_progress_*
- Tile
-
gimp_tile_*
- Region
-
gimp_region_*
AUTHOR
Marc Lehmann <pcg@goof.com>
SEE ALSO
perl(1), Gimp,