gimp_quit << INDEX >> gimp_register_load_handler

gimp_rect_select (1995-1996)

NAME
gimp_rect_select - Create a rectangular selection over the specified image;
SYNOPSIS
gimp_rect_select (image,x,y,width,height,operation,feather,feather_radius)
DESCRIPTION
This tool creates a rectangular selection over the specified image. The rectangular region can be either added to, subtracted from, or replace the contents of the previous selection mask. If the feather option is enabled, the resulting selection is blurred before combining. The blur is a gaussian blur with the specified feather radius.
INPUT ARGUMENTS
TYPENAMEDESCRIPTION
IMAGEimageThe image
FLOATxx coordinate of upper-left corner of rectangle
FLOATyy coordinate of upper-left corner of rectangle
FLOATwidthThe width of the rectangle: 0 < width
FLOATheightThe height of the rectangle: 0 < height
INT32operationThe selection operation: { ADD (0), SUB (1), REPLACE (2), INTERSECT (3) }
INT32featherFeather option for selections
FLOATfeather_radiusRadius for feather operation
SOME SYNTAX ALTERNATIVES
$image->rect_select (x,y,width,height,operation,feather,feather_radius)
AUTHOR
Spencer Kimball & Peter Mattis
(c)1995-1996 Spencer Kimball & Peter Mattis


This page was created by gimpdoc, written by Marc Lehmann <pcg@goof.com>