GimpImage-snap

GimpImage-snap

Synopsis

gboolean            gimp_image_snap_x                   (GimpImage *image,
                                                         gdouble x,
                                                         gdouble *tx,
                                                         gdouble epsilon_x,
                                                         gboolean snap_to_guides,
                                                         gboolean snap_to_grid,
                                                         gboolean snap_to_canvas);
gboolean            gimp_image_snap_y                   (GimpImage *image,
                                                         gdouble y,
                                                         gdouble *ty,
                                                         gdouble epsilon_y,
                                                         gboolean snap_to_guides,
                                                         gboolean snap_to_grid,
                                                         gboolean snap_to_canvas);
gboolean            gimp_image_snap_point               (GimpImage *image,
                                                         gdouble x,
                                                         gdouble y,
                                                         gdouble *tx,
                                                         gdouble *ty,
                                                         gdouble epsilon_x,
                                                         gdouble epsilon_y,
                                                         gboolean snap_to_guides,
                                                         gboolean snap_to_grid,
                                                         gboolean snap_to_canvas,
                                                         gboolean snap_to_vectors);
gboolean            gimp_image_snap_rectangle           (GimpImage *image,
                                                         gdouble x1,
                                                         gdouble y1,
                                                         gdouble x2,
                                                         gdouble y2,
                                                         gdouble *tx1,
                                                         gdouble *ty1,
                                                         gdouble epsilon_x,
                                                         gdouble epsilon_y,
                                                         gboolean snap_to_guides,
                                                         gboolean snap_to_grid,
                                                         gboolean snap_to_canvas,
                                                         gboolean snap_to_vectors);

Description

Details

gimp_image_snap_x ()

gboolean            gimp_image_snap_x                   (GimpImage *image,
                                                         gdouble x,
                                                         gdouble *tx,
                                                         gdouble epsilon_x,
                                                         gboolean snap_to_guides,
                                                         gboolean snap_to_grid,
                                                         gboolean snap_to_canvas);


gimp_image_snap_y ()

gboolean            gimp_image_snap_y                   (GimpImage *image,
                                                         gdouble y,
                                                         gdouble *ty,
                                                         gdouble epsilon_y,
                                                         gboolean snap_to_guides,
                                                         gboolean snap_to_grid,
                                                         gboolean snap_to_canvas);


gimp_image_snap_point ()

gboolean            gimp_image_snap_point               (GimpImage *image,
                                                         gdouble x,
                                                         gdouble y,
                                                         gdouble *tx,
                                                         gdouble *ty,
                                                         gdouble epsilon_x,
                                                         gdouble epsilon_y,
                                                         gboolean snap_to_guides,
                                                         gboolean snap_to_grid,
                                                         gboolean snap_to_canvas,
                                                         gboolean snap_to_vectors);


gimp_image_snap_rectangle ()

gboolean            gimp_image_snap_rectangle           (GimpImage *image,
                                                         gdouble x1,
                                                         gdouble y1,
                                                         gdouble x2,
                                                         gdouble y2,
                                                         gdouble *tx1,
                                                         gdouble *ty1,
                                                         gdouble epsilon_x,
                                                         gdouble epsilon_y,
                                                         gboolean snap_to_guides,
                                                         gboolean snap_to_grid,
                                                         gboolean snap_to_canvas,
                                                         gboolean snap_to_vectors);