gimp_path_get_point_at_dist << INDEX >> gimp_path_get_tattoo

gimp_path_get_points (1999)

NAME
gimp_path_get_points - List the points associated with the named path.
SYNOPSIS
(path_type,path_closed,num_path_point_details,points_pairs) = gimp_path_get_points (image,pathname)
DESCRIPTION
List the points associated with the named path.
INPUT ARGUMENTS
TYPENAMEDESCRIPTION
IMAGEimageThe ID of the image to list the paths from
STRINGpathnamethe name of the path whose points should be listed
RETURN VALUES
TYPENAMEDESCRIPTION
INT32path_typeThe type of the path. Currently only one type (1 = Bezier) is supported
INT32path_closedReturn if the path is closed. {0=path open, 1= path closed}
INT32num_path_point_detailsThe number of points returned. Each point is made up of (x,y,pnt_type) of floats
FLOATARRAYpoints_pairsThe points in the path represented as 3 floats. The first is the x pos, next is the y pos, last is the type of the pnt. The type field is dependant on the path type. For beziers (type 1 paths) the type can either be {1.0= BEZIER_ANCHOR, 2.0= BEZIER_CONTROL}. Note all points are returned in pixel resolution
SOME SYNTAX ALTERNATIVES
(path_type,path_closed,points_pairs) = $image->path_get_points (pathname)
AUTHOR
Andy Thomas
(c)1999 Andy Thomas


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