Class
GimpDrawable
Description [src]
abstract class Gimp.Drawable : Gimp.Item {
parent_instance: GimpItem
}
Functions to manipulate drawables.
Functions
gimp_drawable_get_by_id
Returns a GimpDrawable
representing drawable_id
. This function
calls gimp_item_get_by_id()
and returns the item if it is drawable
or NULL
otherwise.
since: 3.0
Instance methods
gimp_drawable_colorize_hsl
Render the drawable as a grayscale image seen through a colored glass.
since: 2.10
gimp_drawable_desaturate
Desaturate the contents of the specified drawable, with the specified formula.
since: 2.10
gimp_drawable_edit_bucket_fill
Fill the area by a seed fill starting at the specified coordinates.
since: 2.10
gimp_drawable_edit_gradient_fill
Draw a gradient between the starting and ending coordinates with the specified gradient type.
since: 2.10
gimp_drawable_foreground_extract
Extract the foreground of a drawable using a given trimap.
since: 2.4
gimp_drawable_get_buffer
Returns a GeglBuffer
of a specified drawable. The buffer can be used
like any other GEGL buffer. Its data will we synced back with the core
drawable when the buffer gets destroyed, or when gegl_buffer_flush()
is called.
since: 2.10
gimp_drawable_get_shadow_buffer
Returns a GeglBuffer
of a specified drawable’s shadow tiles. The
buffer can be used like any other GEGL buffer. Its data will we
synced back with the core drawable’s shadow tiles when the buffer
gets destroyed, or when gegl_buffer_flush()
is called.
since: 2.10
gimp_drawable_get_sub_thumbnail
Retrieves a thumbnail pixbuf for the drawable identified by
drawable
. The thumbnail will be not larger than the requested size.
since: 2.2
gimp_drawable_get_sub_thumbnail_data
Retrieves thumbnail data for the drawable identified by drawable
.
The thumbnail will be not larger than the requested size.
gimp_drawable_get_thumbnail
Retrieves a thumbnail pixbuf for the drawable identified by
drawable
. The thumbnail will be not larger than the requested size.
since: 2.2
gimp_drawable_get_thumbnail_data
Retrieves thumbnail data for the drawable identified by drawable
.
The thumbnail will be not larger than the requested size.
gimp_drawable_get_thumbnail_format
Returns the Babl
thumbnail format of the drawable.
since: 2.10.14
gimp_drawable_histogram
Returns information on the intensity histogram for the specified drawable.
since: 2.10
gimp_drawable_hue_saturation
Modify hue, lightness, and saturation in the specified drawable.
since: 2.10
gimp_drawable_levels_stretch
Automatically modifies intensity levels in the specified drawable.
since: 2.10
gimp_drawable_mask_bounds
Find the bounding box of the current selection in relation to the specified drawable.
gimp_drawable_mask_intersect
Find the bounding box of the current selection in relation to the specified drawable.
since: 2.2
Properties
Properties inherited from GimpItem (1)
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
Class structure
struct GimpDrawableClass {
GimpItemClass parent_class;
void (* _gimp_reserved0) (
void
);
void (* _gimp_reserved1) (
void
);
void (* _gimp_reserved2) (
void
);
void (* _gimp_reserved3) (
void
);
void (* _gimp_reserved4) (
void
);
void (* _gimp_reserved5) (
void
);
void (* _gimp_reserved6) (
void
);
void (* _gimp_reserved7) (
void
);
void (* _gimp_reserved8) (
void
);
void (* _gimp_reserved9) (
void
);
}
Class members
parent_class: GimpItemClass
- No description available.
_gimp_reserved0: void (* _gimp_reserved0) ( void )
- No description available.
_gimp_reserved1: void (* _gimp_reserved1) ( void )
- No description available.
_gimp_reserved2: void (* _gimp_reserved2) ( void )
- No description available.
_gimp_reserved3: void (* _gimp_reserved3) ( void )
- No description available.
_gimp_reserved4: void (* _gimp_reserved4) ( void )
- No description available.
_gimp_reserved5: void (* _gimp_reserved5) ( void )
- No description available.
_gimp_reserved6: void (* _gimp_reserved6) ( void )
- No description available.
_gimp_reserved7: void (* _gimp_reserved7) ( void )
- No description available.
_gimp_reserved8: void (* _gimp_reserved8) ( void )
- No description available.
_gimp_reserved9: void (* _gimp_reserved9) ( void )
- No description available.