## gimppixelrgn gimppixelrgn |

## Functions

void | gimp_pixel_rgn_init ()
void | gimp_pixel_rgn_resize ()
void | gimp_pixel_rgn_get_pixel ()
void | gimp_pixel_rgn_get_row ()
void | gimp_pixel_rgn_get_col ()
void | gimp_pixel_rgn_get_rect ()
void | gimp_pixel_rgn_set_pixel ()
void | gimp_pixel_rgn_set_row ()
void | gimp_pixel_rgn_set_col ()
void | gimp_pixel_rgn_set_rect ()
gpointer | gimp_pixel_rgns_register ()
gpointer | gimp_pixel_rgns_register2 ()
gpointer | gimp_pixel_rgns_process ()

## Types and Values

| GimpPixelRgn

## Description

## Functions

### gimp_pixel_rgn_init ()

    void
    gimp_pixel_rgn_init (GimpPixelRgn *pr,
                         GimpDrawable *drawable,
                         gint x,
                         gint y,
                         gint width,
                         gint height,
                         gint dirty,
                         gint shadow);

### gimp_pixel_rgn_resize ()

    void
    gimp_pixel_rgn_resize (GimpPixelRgn *pr,
                           gint x,
                           gint y,
                           gint width,
                           gint height);

### gimp_pixel_rgn_get_pixel ()

    void
    gimp_pixel_rgn_get_pixel (GimpPixelRgn *pr,
                              guchar *buf,
                              gint x,
                              gint y);

### gimp_pixel_rgn_get_row ()

    void
    gimp_pixel_rgn_get_row (GimpPixelRgn *pr,
                            guchar *buf,
                            gint x,
                            gint y,
                            gint width);

### gimp_pixel_rgn_get_col ()

    void
    gimp_pixel_rgn_get_col (GimpPixelRgn *pr,
                            guchar *buf,
                            gint x,
                            gint y,
                            gint height);

### gimp_pixel_rgn_get_rect ()

    void
    gimp_pixel_rgn_get_rect (GimpPixelRgn *pr,
                             guchar *buf,
                             gint x,
                             gint y,
                             gint width,
                             gint height);

### gimp_pixel_rgn_set_pixel ()

    void
    gimp_pixel_rgn_set_pixel (GimpPixelRgn *pr,
                              const guchar *buf,
                              gint x,
                              gint y);

### gimp_pixel_rgn_set_row ()

    void
    gimp_pixel_rgn_set_row (GimpPixelRgn *pr,
                            const guchar *buf,
                            gint x,
                            gint y,
                            gint width);

### gimp_pixel_rgn_set_col ()

    void
    gimp_pixel_rgn_set_col (GimpPixelRgn *pr,
                            const guchar *buf,
                            gint x,
                            gint y,
                            gint height);

### gimp_pixel_rgn_set_rect ()

    void
    gimp_pixel_rgn_set_rect (GimpPixelRgn *pr,
                             const guchar *buf,
                             gint x,
                             gint y,
                             gint width,
                             gint height);

### gimp_pixel_rgns_register ()

    gpointer
    gimp_pixel_rgns_register (gint nrgns,
                              ...);

### gimp_pixel_rgns_register2 ()

    gpointer
    gimp_pixel_rgns_register2 (gint nrgns,
                               GimpPixelRgn **prs);

### gimp_pixel_rgns_process ()

    gpointer
    gimp_pixel_rgns_process (gpointer pri_ptr);

## Types and Values

### GimpPixelRgn

    typedef struct {
      guchar       *data;          /* pointer to region data */
      GimpDrawable *drawable;      /* pointer to drawable */
      gint          bpp;           /* bytes per pixel */
      gint          rowstride;     /* bytes per pixel row */
      gint          x, y;          /* origin */
      gint          w, h;          /* width and height of region */
      guint         dirty : 1;     /* will this region be dirtied? */
      guint         shadow : 1;    /* will this region use the shadow or normal tiles */
      gint          process_count; /* used internally */
    } GimpPixelRgn;