gimp_path_get_locked << INDEX >> gimp_path_get_points

gimp_path_get_point_at_dist (1999)

NAME
gimp_path_get_point_at_dist - Get point on a path at a specified distance along the path.
SYNOPSIS
(x_point,y_point,gradient) = gimp_path_get_point_at_dist (image,distance)
DESCRIPTION
This will return the x,y position of a point at a given distance along the bezier curve. The distance will the obtained by first digitizing the curve internally an then walking along the curve. For a closed curve the start of the path is the first point on the path that was created. This might not be obvious. Note the current path is used.
INPUT ARGUMENTS
TYPENAMEDESCRIPTION
IMAGEimageThe ID of the image the paths belongs to
FLOATdistanceThe distance along the path
RETURN VALUES
TYPENAMEDESCRIPTION
INT32x_pointThe x position of the point
INT32y_pointThe y position of the point
FLOATgradientThe gradient at the specified point
SOME SYNTAX ALTERNATIVES
(x_point,y_point,gradient) = $image->path_get_point_at_dist (distance)
AUTHOR
Andy Thomas
(c)1999 Andy Thomas


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