GimpPickable

GimpPickable

Synopsis

                    GimpPickable;
struct              GimpPickableInterface;
GimpImage *         gimp_pickable_get_image             (GimpPickable *pickable);
GimpImageType       gimp_pickable_get_image_type        (GimpPickable *pickable);
gint                gimp_pickable_get_bytes             (GimpPickable *pickable);
TileManager *       gimp_pickable_get_tiles             (GimpPickable *pickable);
gboolean            gimp_pickable_get_color_at          (GimpPickable *pickable,
                                                         gint x,
                                                         gint y,
                                                         GimpRGB *color);
gint                gimp_pickable_get_opacity_at        (GimpPickable *pickable,
                                                         gint x,
                                                         gint y);
gboolean            gimp_pickable_get_pixel_at          (GimpPickable *pickable,
                                                         gint x,
                                                         gint y,
                                                         guchar *pixel);
gboolean            gimp_pickable_pick_color            (GimpPickable *pickable,
                                                         gint x,
                                                         gint y,
                                                         gboolean sample_average,
                                                         gdouble average_radius,
                                                         GimpRGB *color,
                                                         gint *color_index);
void                gimp_pickable_flush                 (GimpPickable *pickable);

Object Hierarchy

  GInterface
   +----GimpPickableInterface

Prerequisites

GimpPickableInterface requires GimpObject.

Known Implementations

GimpPickableInterface is implemented by GimpChannel, GimpDrawable, GimpGroupLayer, GimpImageMap, GimpLayer, GimpLayerMask, GimpProjection, GimpSelection and GimpTextLayer.

Description

Details

GimpPickable

typedef struct _GimpPickable GimpPickable;


struct GimpPickableInterface

struct GimpPickableInterface;


gimp_pickable_get_image ()

GimpImage *         gimp_pickable_get_image             (GimpPickable *pickable);


gimp_pickable_get_image_type ()

GimpImageType       gimp_pickable_get_image_type        (GimpPickable *pickable);


gimp_pickable_get_bytes ()

gint                gimp_pickable_get_bytes             (GimpPickable *pickable);


gimp_pickable_get_tiles ()

TileManager *       gimp_pickable_get_tiles             (GimpPickable *pickable);


gimp_pickable_get_color_at ()

gboolean            gimp_pickable_get_color_at          (GimpPickable *pickable,
                                                         gint x,
                                                         gint y,
                                                         GimpRGB *color);


gimp_pickable_get_opacity_at ()

gint                gimp_pickable_get_opacity_at        (GimpPickable *pickable,
                                                         gint x,
                                                         gint y);


gimp_pickable_get_pixel_at ()

gboolean            gimp_pickable_get_pixel_at          (GimpPickable *pickable,
                                                         gint x,
                                                         gint y,
                                                         guchar *pixel);


gimp_pickable_pick_color ()

gboolean            gimp_pickable_pick_color            (GimpPickable *pickable,
                                                         gint x,
                                                         gint y,
                                                         gboolean sample_average,
                                                         gdouble average_radius,
                                                         GimpRGB *color,
                                                         gint *color_index);


gimp_pickable_flush ()

void                gimp_pickable_flush                 (GimpPickable *pickable);