static extern void gimp_pixel_rgn_init(ref GimpPixelRgn pr, IntPtr drawable, int x, int y, int width, int height, bool dirty, bool shadow);
static extern void gimp_pixel_rgn_set_col(ref GimpPixelRgn pr, byte[] buf, int x, int y, int height);
static extern void gimp_pixel_rgn_set_row(ref GimpPixelRgn pr, byte[] buf, int x, int y, int width);
static extern void gimp_pixel_rgn_get_rect(ref GimpPixelRgn pr, byte[] buf, int x, int y, int width, int height);
static extern void gimp_pixel_rgn_set_pixel(ref GimpPixelRgn pr, byte[] buf, int x, int y);
static extern IntPtr gimp_pixel_rgns_register(int nrgns, ref GimpPixelRgn pr1, ref GimpPixelRgn pr2, ref GimpPixelRgn pr3);
static extern void gimp_pixel_rgn_set_row(ref GimpPixelRgn pr, byte[] buf, int x, int y, int width);
static extern void gimp_pixel_rgn_set_pixel(ref GimpPixelRgn pr, byte[] buf, int x, int y);
static extern void gimp_pixel_rgn_set_rect(ref GimpPixelRgn pr, byte[] buf, int x, int y, int width, int height);
static extern void gimp_pixel_rgn_init(ref GimpPixelRgn pr, IntPtr drawable, int x, int y, int width, int height, bool dirty, bool shadow);
static extern void gimp_pixel_rgn_get_col(ref GimpPixelRgn pr, byte[] buf, int x, int y, int height);
static extern IntPtr gimp_pixel_rgns_register(int nrgns, ref GimpPixelRgn pr1, ref GimpPixelRgn pr2, ref GimpPixelRgn pr3);
extern static void gimp_drawable_preview_draw_region(IntPtr preview, ref GimpPixelRgn region);
static extern void gimp_drawable_preview_draw_region(IntPtr preview, ref GimpPixelRgn region);