Method
GimpDrawablecurves_explicit
since: 2.10
Declaration [src]
gboolean
gimp_drawable_curves_explicit (
GimpDrawable* drawable,
GimpHistogramChannel channel,
gint num_values,
const gdouble* values
)
Description [src]
Modifies the intensity curve(s) for specified drawable.
Modifies the intensity mapping for one channel in the specified
drawable. The channel can be either an intensity component, or the
value. The ‘values’ parameter is an array of doubles which
explicitly defines how each pixel value in the drawable will be
modified. Use the gimp_drawable_curves_spline() function to modify
intensity levels with Catmull Rom splines.
Available since: 2.10
Parameters
channel-
Type:
GimpHistogramChannelThe channel to modify.
num_values-
Type:
gintThe number of values in the new curve.
values-
Type: An array of
doubleThe explicit curve.
The length of the array is specified in the num_valuesargument.The data is owned by the caller of the function.