Gimp::OO - Pseudo-OO for Gimp functions.
After use'ing this module, the following classes are available to the user. You can drop the Gimp:: prefix from all packages, too.
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:
This module is experimental, the API is subjedt to change.
Marc Lehmann, firstname.lastname@example.org