see plug-ins/perl/Changes

This commit is contained in:
Marc Lehmann
2000-01-23 23:22:41 +00:00
parent 1485e40383
commit 46c42d6721
20 changed files with 68 additions and 51 deletions

View File

@ -250,19 +250,6 @@ sub gimp_text_wh {
=pod
=item C<gimp_drawable_bounds $drawable>
returns an array (x,y,w,h) containing the upper left corner and the size of the
current mask, just as needed by pixelrgn and similar functions.
=cut
sub gimp_drawable_bounds {
my @b = (shift->mask_bounds)[1..4];
(@b[0,1],$b[2]-$b[0],$b[3]-$b[1]);
}
=pod
=item C<gimp_image_layertype $alpha>
returns the corresponding layer type for an image, alpha controls wether the layer type