GimpPickable

GimpPickable

Synopsis

                    GimpPickable;
                    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 GimpProjection, GimpLayerMask, GimpTextLayer, GimpImageMap, GimpDrawable, GimpLayer, GimpSelection and GimpChannel.

Description

Details

GimpPickable

typedef struct _GimpPickable GimpPickable;


GimpPickableInterface

typedef struct _GimpPickableInterface GimpPickableInterface;


gimp_pickable_get_image ()

GimpImage*          gimp_pickable_get_image             (GimpPickable *pickable);

pickable :

Returns :


gimp_pickable_get_image_type ()

GimpImageType       gimp_pickable_get_image_type        (GimpPickable *pickable);

pickable :

Returns :


gimp_pickable_get_bytes ()

gint                gimp_pickable_get_bytes             (GimpPickable *pickable);

pickable :

Returns :


gimp_pickable_get_tiles ()

TileManager*        gimp_pickable_get_tiles             (GimpPickable *pickable);

pickable :

Returns :


gimp_pickable_get_color_at ()

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

pickable :

x :

y :

color :

Returns :


gimp_pickable_get_opacity_at ()

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

pickable :

x :

y :

Returns :


gimp_pickable_get_pixel_at ()

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

pickable :

x :

y :

pixel :

Returns :


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);

pickable :

x :

y :

sample_average :

average_radius :

color :

color_index :

Returns :


gimp_pickable_flush ()

void                gimp_pickable_flush                 (GimpPickable *pickable);

pickable :