1
/* The GIMP -- an image manipulation program
1
/* GIMP - The GNU Image Manipulation Program
2
2
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
4
4
* This program is free software; you can redistribute it and/or modify
49
49
lut = invert_lut_new (gimp_drawable_bytes (drawable));
51
pixel_region_init (&srcPR, gimp_drawable_data (drawable),
52
x, y, width, height, FALSE);
53
pixel_region_init (&destPR, gimp_drawable_shadow (drawable),
54
x, y, width, height, TRUE);
51
pixel_region_init (&srcPR, gimp_drawable_get_tiles (drawable),
52
x, y, width, height, FALSE);
53
pixel_region_init (&destPR, gimp_drawable_get_shadow_tiles (drawable),
54
x, y, width, height, TRUE);
56
pixel_regions_process_parallel ((p_func)gimp_lut_process, lut,
56
pixel_regions_process_parallel ((PixelProcessorFunc) gimp_lut_process,
57
lut, 2, &srcPR, &destPR);
59
59
gimp_lut_free (lut);