| Top |
gint32 gimp_layer_new (gint32 image_ID,const gchar *name,gint width,gint height,GimpImageType type,gdouble opacity,GimpLayerModeEffects mode);
gint32 gimp_layer_new_from_drawable (gint32 drawable_ID,gint32 dest_image_ID);
gint32 gimp_layer_new_from_visible (gint32 image_ID,gint32 dest_image_ID,const gchar *name);
Since: GIMP 2.6
gint32 gimp_layer_new_from_pixbuf (gint32 image_ID,const gchar *name,GdkPixbuf *pixbuf,gdouble opacity,GimpLayerModeEffects mode,gdouble progress_start,gdouble progress_end);
Since: GIMP 2.4
gint32 gimp_layer_new_from_surface (gint32 image_ID,const gchar *name,cairo_surface_t *surface,gdouble progress_start,gdouble progress_end);
Since: GIMP 2.8
gboolean gimp_layer_scale (gint32 layer_ID,gint new_width,gint new_height,gboolean local_origin);
gboolean gimp_layer_scale_full (gint32 layer_ID,gint new_width,gint new_height,gboolean local_origin,GimpInterpolationType interpolation);
gimp_layer_scale_full is deprecated and should not be used in newly-written code.
Use gimp_layer_scale() instead.
Since: GIMP 2.6
gboolean gimp_layer_resize (gint32 layer_ID,gint new_width,gint new_height,gint offx,gint offy);
gimp_layer_resize is deprecated and should not be used in newly-written code.
gint32 gimp_layer_create_mask (gint32 layer_ID,GimpAddMaskType mask_type);
gboolean gimp_layer_remove_mask (gint32 layer_ID,GimpMaskApplyMode mode);
gboolean gimp_layer_set_lock_alpha (gint32 layer_ID,gboolean lock_alpha);
gboolean
gimp_layer_get_preserve_trans (gint32 layer_ID);
gimp_layer_get_preserve_trans is deprecated and should not be used in newly-written code.
gboolean gimp_layer_set_preserve_trans (gint32 layer_ID,gboolean preserve_trans);
gimp_layer_set_preserve_trans is deprecated and should not be used in newly-written code.
gboolean gimp_layer_set_apply_mask (gint32 layer_ID,gboolean apply_mask);
gboolean gimp_layer_set_show_mask (gint32 layer_ID,gboolean show_mask);
gboolean gimp_layer_set_edit_mask (gint32 layer_ID,gboolean edit_mask);