GimpImage-crop

GimpImage-crop

Synopsis

void                gimp_image_crop                     (GimpImage *image,
                                                         GimpContext *context,
                                                         gint x1,
                                                         gint y1,
                                                         gint x2,
                                                         gint y2,
                                                         gboolean active_layer_only,
                                                         gboolean crop_layers);
gboolean            gimp_image_crop_auto_shrink         (GimpImage *image,
                                                         gint x1,
                                                         gint y1,
                                                         gint x2,
                                                         gint y2,
                                                         gboolean active_drawable_only,
                                                         gint *shrunk_x1,
                                                         gint *shrunk_y1,
                                                         gint *shrunk_x2,
                                                         gint *shrunk_y2);

Description

Details

gimp_image_crop ()

void                gimp_image_crop                     (GimpImage *image,
                                                         GimpContext *context,
                                                         gint x1,
                                                         gint y1,
                                                         gint x2,
                                                         gint y2,
                                                         gboolean active_layer_only,
                                                         gboolean crop_layers);


gimp_image_crop_auto_shrink ()

gboolean            gimp_image_crop_auto_shrink         (GimpImage *image,
                                                         gint x1,
                                                         gint y1,
                                                         gint x2,
                                                         gint y2,
                                                         gboolean active_drawable_only,
                                                         gint *shrunk_x1,
                                                         gint *shrunk_y1,
                                                         gint *shrunk_x2,
                                                         gint *shrunk_y2);