see plug-ins/perl/Changes

This commit is contained in:
Marc Lehmann
2000-01-06 00:30:56 +00:00
parent e1c687494d
commit 3de32eb68f
15 changed files with 56 additions and 48 deletions

View File

@ -8,13 +8,13 @@ use Gimp::Util;
# These are a couple of one-liners that you might find handy. Both should
# be undoable w/o any special magick, and work with any gimp.
register "layer_to_image_size", "Layer2ImageSize", "Expands layer to image size",
"Seth Burgess", "Seth Burgess <sjburges\@gimp.org>", "1.0",
N_"<Image>/Layers/Layer to Image Size", "RGB*, GRAY*", [ ], sub {
($img, $layer) = @_;
$layer->resize($img->width, $img->height, $layer->offsets);
return();
};
#register "layer_to_image_size", "Layer2ImageSize", "Expands layer to image size",
# "Seth Burgess", "Seth Burgess <sjburges\@gimp.org>", "1.0",
# N_"<Image>/Layers/Layer to Image Size", "RGB*, GRAY*", [ ], sub {
# ($img, $layer) = @_;
# $layer->resize($img->width, $img->height, $layer->offsets);
# return();
#};
register "center_layer", "Center Layer",
"Centers the current layer on the image",