| GIMP Application Reference Manual | ||||
|---|---|---|---|---|
GimpDrawable;
gint64 gimp_drawable_estimate_memsize (const GimpDrawable *drawable,
gint width,
gint height);
void gimp_drawable_configure (GimpDrawable *drawable,
GimpImage *image,
gint offset_x,
gint offset_y,
gint width,
gint height,
GimpImageType type,
const gchar *name);
void gimp_drawable_update (GimpDrawable *drawable,
gint x,
gint y,
gint width,
gint height);
void gimp_drawable_alpha_changed (GimpDrawable *drawable);
void gimp_drawable_invalidate_boundary (GimpDrawable *drawable);
void gimp_drawable_get_active_components (const GimpDrawable *drawable,
gboolean *active);
void gimp_drawable_apply_region (GimpDrawable *drawable,
PixelRegion *src2PR,
gboolean push_undo,
const gchar *undo_desc,
gdouble opacity,
GimpLayerModeEffects mode,
TileManager *src1_tiles,
gint x,
gint y);
void gimp_drawable_replace_region (GimpDrawable *drawable,
PixelRegion *src2PR,
gboolean push_undo,
const gchar *undo_desc,
gdouble opacity,
PixelRegion *maskPR,
gint x,
gint y);
TileManager* gimp_drawable_get_tiles (GimpDrawable *drawable);
void gimp_drawable_set_tiles (GimpDrawable *drawable,
gboolean push_undo,
const gchar *undo_desc,
TileManager *tiles);
void gimp_drawable_set_tiles_full (GimpDrawable *drawable,
gboolean push_undo,
const gchar *undo_desc,
TileManager *tiles,
GimpImageType type,
gint offset_x,
gint offset_y);
void gimp_drawable_swap_pixels (GimpDrawable *drawable,
TileManager *tiles,
gboolean sparse,
gint x,
gint y,
gint width,
gint height);
void gimp_drawable_push_undo (GimpDrawable *drawable,
const gchar *undo_desc,
gint x1,
gint y1,
gint x2,
gint y2,
TileManager *tiles,
gboolean sparse);
void gimp_drawable_fill (GimpDrawable *drawable,
const GimpRGB *color,
const GimpPattern *pattern);
void gimp_drawable_fill_by_type (GimpDrawable *drawable,
GimpContext *context,
GimpFillType fill_type);
gboolean gimp_drawable_mask_bounds (GimpDrawable *drawable,
gint *x1,
gint *y1,
gint *x2,
gint *y2);
gboolean gimp_drawable_mask_intersect (GimpDrawable *drawable,
gint *x,
gint *y,
gint *width,
gint *height);
gboolean gimp_drawable_has_alpha (const GimpDrawable *drawable);
gboolean gimp_drawable_has_floating_sel (const GimpDrawable *drawable);
GimpImageType gimp_drawable_type (const GimpDrawable *drawable);
GimpImageType gimp_drawable_type_with_alpha (const GimpDrawable *drawable);
GimpImageType gimp_drawable_type_without_alpha (const GimpDrawable *drawable);
gboolean gimp_drawable_is_rgb (const GimpDrawable *drawable);
gboolean gimp_drawable_is_gray (const GimpDrawable *drawable);
gboolean gimp_drawable_is_indexed (const GimpDrawable *drawable);
gboolean gimp_drawable_is_text_layer (GimpDrawable *drawable);
gint gimp_drawable_bytes (const GimpDrawable *drawable);
gint gimp_drawable_bytes_with_alpha (const GimpDrawable *drawable);
gint gimp_drawable_bytes_without_alpha (const GimpDrawable *drawable);
const guchar* gimp_drawable_get_colormap (const GimpDrawable *drawable);
void gimp_drawable_stroke_boundary (GimpDrawable *drawable,
GimpStrokeOptions *options,
const BoundSeg *bound_segs,
gint n_bound_segs,
gint offset_x,
gint offset_y);
void gimp_drawable_stroke_vectors (GimpDrawable *drawable,
GimpStrokeOptions *options,
GimpVectors *vectors);
GObject +----GimpObject +----GimpViewable +----GimpItem +----GimpDrawable +----GimpChannel +----GimpLayer
gint64 gimp_drawable_estimate_memsize (const GimpDrawable *drawable, gint width, gint height);
|
|
|
|
|
|
Returns : |
void gimp_drawable_configure (GimpDrawable *drawable, GimpImage *image, gint offset_x, gint offset_y, gint width, gint height, GimpImageType type, const gchar *name);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void gimp_drawable_update (GimpDrawable *drawable, gint x, gint y, gint width, gint height);
|
|
|
|
|
|
|
|
|
void gimp_drawable_alpha_changed (GimpDrawable *drawable);
|
void gimp_drawable_invalidate_boundary (GimpDrawable *drawable);
|
void gimp_drawable_get_active_components (const GimpDrawable *drawable, gboolean *active);
|
|
|
void gimp_drawable_apply_region (GimpDrawable *drawable, PixelRegion *src2PR, gboolean push_undo, const gchar *undo_desc, gdouble opacity, GimpLayerModeEffects mode, TileManager *src1_tiles, gint x, gint y);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void gimp_drawable_replace_region (GimpDrawable *drawable, PixelRegion *src2PR, gboolean push_undo, const gchar *undo_desc, gdouble opacity, PixelRegion *maskPR, gint x, gint y);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
TileManager* gimp_drawable_get_tiles (GimpDrawable *drawable);
|
|
Returns : |
void gimp_drawable_set_tiles (GimpDrawable *drawable, gboolean push_undo, const gchar *undo_desc, TileManager *tiles);
|
|
|
|
|
|
|
void gimp_drawable_set_tiles_full (GimpDrawable *drawable, gboolean push_undo, const gchar *undo_desc, TileManager *tiles, GimpImageType type, gint offset_x, gint offset_y);
|
|
|
|
|
|
|
|
|
|
|
|
|
void gimp_drawable_swap_pixels (GimpDrawable *drawable, TileManager *tiles, gboolean sparse, gint x, gint y, gint width, gint height);
|
|
|
|
|
|
|
|
|
|
|
|
|
void gimp_drawable_push_undo (GimpDrawable *drawable, const gchar *undo_desc, gint x1, gint y1, gint x2, gint y2, TileManager *tiles, gboolean sparse);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void gimp_drawable_fill (GimpDrawable *drawable, const GimpRGB *color, const GimpPattern *pattern);
|
|
|
|
|
void gimp_drawable_fill_by_type (GimpDrawable *drawable, GimpContext *context, GimpFillType fill_type);
|
|
|
|
|
gboolean gimp_drawable_mask_bounds (GimpDrawable *drawable, gint *x1, gint *y1, gint *x2, gint *y2);
|
|
|
|
|
|
|
|
|
|
Returns : |
gboolean gimp_drawable_mask_intersect (GimpDrawable *drawable, gint *x, gint *y, gint *width, gint *height);
|
|
|
|
|
|
|
|
|
|
Returns : |
gboolean gimp_drawable_has_alpha (const GimpDrawable *drawable);
|
|
Returns : |
gboolean gimp_drawable_has_floating_sel (const GimpDrawable *drawable);
|
|
Returns : |
GimpImageType gimp_drawable_type (const GimpDrawable *drawable);
|
|
Returns : |
GimpImageType gimp_drawable_type_with_alpha (const GimpDrawable *drawable);
|
|
Returns : |
GimpImageType gimp_drawable_type_without_alpha (const GimpDrawable *drawable);
|
|
Returns : |
gboolean gimp_drawable_is_rgb (const GimpDrawable *drawable);
|
|
Returns : |
gboolean gimp_drawable_is_gray (const GimpDrawable *drawable);
|
|
Returns : |
gboolean gimp_drawable_is_indexed (const GimpDrawable *drawable);
|
|
Returns : |
gboolean gimp_drawable_is_text_layer (GimpDrawable *drawable);
|
|
Returns : |
gint gimp_drawable_bytes (const GimpDrawable *drawable);
|
|
Returns : |
gint gimp_drawable_bytes_with_alpha (const GimpDrawable *drawable);
|
|
Returns : |
gint gimp_drawable_bytes_without_alpha (const GimpDrawable *drawable);
|
|
Returns : |
const guchar* gimp_drawable_get_colormap (const GimpDrawable *drawable);
|
|
Returns : |
void gimp_drawable_stroke_boundary (GimpDrawable *drawable, GimpStrokeOptions *options, const BoundSeg *bound_segs, gint n_bound_segs, gint offset_x, gint offset_y);
|
|
|
|
|
|
|
|
|
|
|
void gimp_drawable_stroke_vectors (GimpDrawable *drawable, GimpStrokeOptions *options, GimpVectors *vectors);
|
|
|
|
|
"alpha-changed" signalvoid user_function (GimpDrawable *gimpdrawable, gpointer user_data) : Run First
|
the object which received the signal. |
|
user data set when the signal handler was connected. |