plug_in_cubism_Iterator_ALT << INDEX >> plug_in_curve_bend_Iterator

plug_in_curve_bend (v1.1.17 (2000/02/16))

NAME
plug_in_curve_bend - Bends a layer using 2 spline-curves
SYNOPSIS
bent_layer = plug_in_curve_bend (run_mode,image,drawable,rotation,smoothing,antialias,work_on_copy,curve_type,argc_upper_point_x,upper_point_x,argc_upper_point_y,upper_point_y,argc_lower_point_x,lower_point_x,argc_lower_point_y,lower_point_y,argc_upper_val_y,upper_val_y,argc_lower_val_y,lower_val_y)
DESCRIPTION
This plug-in does bend the active layer If there is a current selection it is copied to floating selection and the curve_bend distortion is done on the floating selection. If work_on_copy parameter is TRUE, the curve_bend distortion is done on a copy of the active layer (or floating selection). The upper and lower edges are bent in shape of 2 spline curves. both (upper and lower) curves are determined by upto 17 points or by 256 Y-Values if curve_type == 1 (freehand mode) If rotation is not 0, the layer is rotated before and rotated back after the bend operation. This enables bending in other directions than vertical.bending usually changes the size of the handled layer.this plugin sets the offsets of the handled layer to keep its center at the same position
MENUPATH
<Image>/Filters/Distorts/CurveBend...
IMAGETYPES
RGB*, GRAY*
INPUT ARGUMENTS
TYPENAMEDESCRIPTION
INT32run_modeInteractive, non-interactive
IMAGEimageInput image
DRAWABLEdrawableInput drawable (must be a layer without layermask)
FLOATrotationDirection {angle 0 to 360 degree } of the bend effect
INT32smoothingSmoothing { TRUE, FALSE }
INT32antialiasAntialias { TRUE, FALSE }
INT32work_on_copy{ TRUE, FALSE } TRUE: copy the drawable and bend the copy
INT32curve_type { 0, 1 } 0 == smooth (use 17 points), 1 == freehand (use 256 val_y)
INT32argc_upper_point_x{2 <= argc <= 17}
FLOATARRAYupper_point_xarray of 17 x point_koords { 0.0 <= x <= 1.0 or -1 for unused point }
INT32argc_upper_point_y{2 <= argc <= 17}
FLOATARRAYupper_point_yarray of 17 y point_koords { 0.0 <= y <= 1.0 or -1 for unused point }
INT32argc_lower_point_x{2 <= argc <= 17}
FLOATARRAYlower_point_xarray of 17 x point_koords { 0.0 <= x <= 1.0 or -1 for unused point }
INT32argc_lower_point_y{2 <= argc <= 17}
FLOATARRAYlower_point_yarray of 17 y point_koords { 0.0 <= y <= 1.0 or -1 for unused point }
INT32argc_upper_val_y{ 256 }
INT8ARRAYupper_val_yarray of 256 y freehand koord { 0 <= y <= 255 }
INT32argc_lower_val_y{ 256 }
INT8ARRAYlower_val_yarray of 256 y freehand koord { 0 <= y <= 255 }
RETURN VALUES
TYPENAMEDESCRIPTION
LAYERbent_layerthe handled layer
SOME SYNTAX ALTERNATIVES
bent_layer = $drawable->curve_bend (rotation,smoothing,antialias,work_on_copy,curve_type,upper_point_x,upper_point_y,lower_point_x,lower_point_y,upper_val_y,lower_val_y)
bent_layer = $image->curve_bend (drawable,rotation,smoothing,antialias,work_on_copy,curve_type,upper_point_x,upper_point_y,lower_point_x,lower_point_y,upper_val_y,lower_val_y)
bent_layer = plug_in_curve_bend (drawable,rotation,smoothing,antialias,work_on_copy,curve_type,upper_point_x,upper_point_y,lower_point_x,lower_point_y,upper_val_y,lower_val_y)
bent_layer = curve_bend Layer (drawable,rotation,smoothing,antialias,work_on_copy,curve_type,upper_point_x,upper_point_y,lower_point_x,lower_point_y,upper_val_y,lower_val_y)
bent_layer = curve_bend Image (drawable,rotation,smoothing,antialias,work_on_copy,curve_type,upper_point_x,upper_point_y,lower_point_x,lower_point_y,upper_val_y,lower_val_y)
bent_layer = curve_bend Plugin (drawable,rotation,smoothing,antialias,work_on_copy,curve_type,upper_point_x,upper_point_y,lower_point_x,lower_point_y,upper_val_y,lower_val_y)
INSTALLATION PATH
/opt/lib/gimp/1.2/plug-ins/curve_bend
AUTHOR
Wolfgang Hofer (hof@hotbot.com)
(c)v1.1.17 (2000/02/16) Wolfgang Hofer


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