gimp-path-get-points


Description

Deprecated: Use 'gimp-vectors-stroke-get-points' instead.

Help

Deprecated: Use 'gimp-vectors-stroke-get-points' instead.


Type

unknown

Parameters

Type Name Description
PF_IMAGE image The image to list the paths from
PF_VALUE name The name of the path whose points should be listed.

Return

Type Name Description
PF_INT path-type The type of the path. Currently only one type (1 = Bezier) is supported
PF_INT path-closed Return if the path is closed. (0 = path open, 1 = path closed)
PF_INT num-path-point-details The number of points returned. Each point is made up of (x, y, pnt_type) of floats. (num-path-point-details >= 0)
unknown points-pairs The 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 dependent on the path type. For beziers (type 1 paths) the type can either be (1.0 = BEZIER_ANCHOR, 2.0 = BEZIER_CONTROL, 3.0 = BEZIER_MOVE). Note all points are returned in pixel resolution.