gimp-drawable-curves-spline

Spencer Kimball & Peter Mattis

Description

Modifies the intensity curve(s) for specified drawable.

Help

Modifies the intensity mapping for one channel in the specified drawable. The channel can be either an intensity component, or the value. The 'points' parameter is an array of doubles which define a set of control points which describe a Catmull Rom spline which yields the final intensity curve. Use the 'gimp-curves-explicit' function to explicitly modify intensity levels.


Type

unknown

Parameters

Type Name Description
PF_DRAWABLE drawable The drawable
PF_INT channel The channel to modify { HISTOGRAM-VALUE (0), HISTOGRAM-RED (1), HISTOGRAM-GREEN (2), HISTOGRAM-BLUE (3), HISTOGRAM-ALPHA (4), HISTOGRAM-RGB (5) }
PF_INT num-points The number of values in the control point array (4 <= num-points <= 2048)
unknown points The spline control points: { cp1.x, cp1.y, cp2.x, cp2.y, ... }

Return

None