412
412
gimp_curve_set_curve_type (curve, GIMP_CURVE_SMOOTH);
414
416
for (j = 0; j < GIMP_CURVE_N_CRUFT_POINTS; j++)
416
418
if (index[i][j] < 0 || value[i][j] < 0)
417
gimp_curve_set_point (curve, j, -1, -1);
419
gimp_curve_set_point (curve, j, -1.0, -1.0);
419
421
gimp_curve_set_point (curve, j,
420
422
(gdouble) index[i][j] / 255.0,