| GIMP Library Reference Manual |
|---|
gimpregioniterator —
struct GimpRgnIterator; void (*GimpRgnFunc1) (const guchar *src, gint bpp, gpointer data); void (*GimpRgnFunc2) (const guchar *src, guchar *dest, gint bpp, gpointer data); void (*GimpRgnFuncSrc) (gint x, gint y, const guchar *src, gint bpp, gpointer data); void (*GimpRgnFuncDest) (gint x, gint y, guchar *dest, gint bpp, gpointer data); void (*GimpRgnFuncSrcDest) (gint x, gint y, const guchar *src, guchar *dest, gint bpp, gpointer data); GimpRgnIterator* gimp_rgn_iterator_new (GimpDrawable *drawable, GimpRunMode run_mode); void gimp_rgn_iterator_free (GimpRgnIterator *iter); void gimp_rgn_iterator_src (GimpRgnIterator *iter, GimpRgnFuncSrc func, gpointer data); void gimp_rgn_iterator_dest (GimpRgnIterator *iter, GimpRgnFuncDest func, gpointer data); void gimp_rgn_iterator_src_dest (GimpRgnIterator *iter, GimpRgnFuncSrcDest func, gpointer data); void gimp_rgn_iterate1 (GimpDrawable *drawable, GimpRunMode run_mode, GimpRgnFunc1 func, gpointer data); void gimp_rgn_iterate2 (GimpDrawable *drawable, GimpRunMode run_mode, GimpRgnFunc2 func, gpointer data);
void (*GimpRgnFunc1) (const guchar *src, gint bpp, gpointer data);
| src : | |
| bpp : | |
| data : |
void (*GimpRgnFunc2) (const guchar *src, guchar *dest, gint bpp, gpointer data);
| src : | |
| dest : | |
| bpp : | |
| data : |
void (*GimpRgnFuncSrc) (gint x, gint y, const guchar *src, gint bpp, gpointer data);
| x : | |
| y : | |
| src : | |
| bpp : | |
| data : |
void (*GimpRgnFuncDest) (gint x, gint y, guchar *dest, gint bpp, gpointer data);
| x : | |
| y : | |
| dest : | |
| bpp : | |
| data : |
void (*GimpRgnFuncSrcDest) (gint x, gint y, const guchar *src, guchar *dest, gint bpp, gpointer data);
| x : | |
| y : | |
| src : | |
| dest : | |
| bpp : | |
| data : |
GimpRgnIterator* gimp_rgn_iterator_new (GimpDrawable *drawable, GimpRunMode run_mode);
Creates a new GimpRgnIterator for drawable. The run_mode parameter is ignored.
| drawable : | a GimpDrawable |
| run_mode : | unused |
| Returns : | a newly allocated GimpRgnIterator. |
void gimp_rgn_iterator_free (GimpRgnIterator *iter);
Frees the resources allocated for iter.
| iter : | a GimpRgnIterator |
void gimp_rgn_iterator_src (GimpRgnIterator *iter, GimpRgnFuncSrc func, gpointer data);
| iter : | |
| func : | |
| data : |
void gimp_rgn_iterator_dest (GimpRgnIterator *iter, GimpRgnFuncDest func, gpointer data);
| iter : | |
| func : | |
| data : |
void gimp_rgn_iterator_src_dest (GimpRgnIterator *iter, GimpRgnFuncSrcDest func, gpointer data);
| iter : | |
| func : | |
| data : |
void gimp_rgn_iterate1 (GimpDrawable *drawable, GimpRunMode run_mode, GimpRgnFunc1 func, gpointer data);
| drawable : | |
| run_mode : | |
| func : | |
| data : |
void gimp_rgn_iterate2 (GimpDrawable *drawable, GimpRunMode run_mode, GimpRgnFunc2 func, gpointer data);
| drawable : | |
| run_mode : | |
| func : | |
| data : |
| << gimppixelrgn | gimpplugin >> |