GimpSelection

GimpSelection

Synopsis

                    GimpSelection;
GimpChannel *       gimp_selection_new                  (GimpImage *image,
                                                         gint width,
                                                         gint height);
gint                gimp_selection_push_stroking        (GimpSelection *selection);
gint                gimp_selection_pop_stroking         (GimpSelection *selection);
void                gimp_selection_load                 (GimpSelection *selection,
                                                         GimpChannel *channel);
GimpChannel *       gimp_selection_save                 (GimpSelection *selection);
TileManager *       gimp_selection_extract              (GimpSelection *selection,
                                                         GimpPickable *pickable,
                                                         GimpContext *context,
                                                         gboolean cut_image,
                                                         gboolean keep_indexed,
                                                         gboolean add_alpha,
                                                         gint *offset_x,
                                                         gint *offset_y,
                                                         GError **error);
GimpLayer *         gimp_selection_float                (GimpSelection *selection,
                                                         GimpDrawable *drawable,
                                                         GimpContext *context,
                                                         gboolean cut_image,
                                                         gint off_x,
                                                         gint off_y,
                                                         GError **error);

Object Hierarchy

  GObject
   +----GimpObject
         +----GimpViewable
               +----GimpItem
                     +----GimpDrawable
                           +----GimpChannel
                                 +----GimpSelection

Implemented Interfaces

GimpSelection implements GimpConfigInterface and GimpPickableInterface.

Description

Details

GimpSelection

typedef struct _GimpSelection GimpSelection;


gimp_selection_new ()

GimpChannel *       gimp_selection_new                  (GimpImage *image,
                                                         gint width,
                                                         gint height);


gimp_selection_push_stroking ()

gint                gimp_selection_push_stroking        (GimpSelection *selection);


gimp_selection_pop_stroking ()

gint                gimp_selection_pop_stroking         (GimpSelection *selection);


gimp_selection_load ()

void                gimp_selection_load                 (GimpSelection *selection,
                                                         GimpChannel *channel);


gimp_selection_save ()

GimpChannel *       gimp_selection_save                 (GimpSelection *selection);


gimp_selection_extract ()

TileManager *       gimp_selection_extract              (GimpSelection *selection,
                                                         GimpPickable *pickable,
                                                         GimpContext *context,
                                                         gboolean cut_image,
                                                         gboolean keep_indexed,
                                                         gboolean add_alpha,
                                                         gint *offset_x,
                                                         gint *offset_y,
                                                         GError **error);


gimp_selection_float ()

GimpLayer *         gimp_selection_float                (GimpSelection *selection,
                                                         GimpDrawable *drawable,
                                                         GimpContext *context,
                                                         gboolean cut_image,
                                                         gint off_x,
                                                         gint off_y,
                                                         GError **error);