## gimppixelfetcher

gimppixelfetcher —

## Synopsis

    enum        GimpPixelFetcherEdgeMode;
    struct      GimpPixelFetcher;
    GimpPixelFetcher* gimp_pixel_fetcher_new    (GimpDrawable *drawable,
                                                 gboolean shadow);
    void        gimp_pixel_fetcher_set_edge_mode
                                                (GimpPixelFetcher *pf,
                                                 GimpPixelFetcherEdgeMode mode);
    void        gimp_pixel_fetcher_set_bg_color (GimpPixelFetcher *pf,
                                                 const GimpRGB *color);
    void        gimp_pixel_fetcher_get_pixel    (GimpPixelFetcher *pf,
                                                 gint x,
                                                 gint y,
                                                 guchar *pixel);
    void        gimp_pixel_fetcher_put_pixel    (GimpPixelFetcher *pf,
                                                 gint x,
                                                 gint y,
                                                 const guchar *pixel);
    void        gimp_pixel_fetcher_destroy      (GimpPixelFetcher *pf);

## Description

## Details

### enum GimpPixelFetcherEdgeMode

    typedef enum
    {
      GIMP_PIXEL_FETCHER_EDGE_NONE,
      GIMP_PIXEL_FETCHER_EDGE_WRAP,
      GIMP_PIXEL_FETCHER_EDGE_SMEAR,
      GIMP_PIXEL_FETCHER_EDGE_BLACK,
      GIMP_PIXEL_FETCHER_EDGE_BACKGROUND
    } GimpPixelFetcherEdgeMode;

### struct GimpPixelFetcher

    struct GimpPixelFetcher;

### gimp_pixel_fetcher_new ()

    GimpPixelFetcher* gimp_pixel_fetcher_new    (GimpDrawable *drawable,
                                                 gboolean shadow);

`drawable` : |
`shadow` : |
Returns : |

### gimp_pixel_fetcher_set_edge_mode ()

    void        gimp_pixel_fetcher_set_edge_mode
                                                (GimpPixelFetcher *pf,
                                                 GimpPixelFetcherEdgeMode mode);

`pf` : |
`mode` : |

### gimp_pixel_fetcher_set_bg_color ()

    void        gimp_pixel_fetcher_set_bg_color (GimpPixelFetcher *pf,
                                                 const GimpRGB *color);

`pf` : |
`color` : |

### gimp_pixel_fetcher_get_pixel ()

    void        gimp_pixel_fetcher_get_pixel    (GimpPixelFetcher *pf,
                                                 gint x,
                                                 gint y,
                                                 guchar *pixel);

`pf` : |
`x` : |
`y` : |
`pixel` : |

### gimp_pixel_fetcher_put_pixel ()

    void        gimp_pixel_fetcher_put_pixel    (GimpPixelFetcher *pf,
                                                 gint x,
                                                 gint y,
                                                 const guchar *pixel);

`pf` : |
`x` : |
`y` : |
`pixel` : |

### gimp_pixel_fetcher_destroy ()

    void        gimp_pixel_fetcher_destroy      (GimpPixelFetcher *pf);

`pf` : |