Class
GimpPattern
Description [src]
final class Gimp.Pattern : Gimp.Resource {
/* No available fields */
}
Installable object used by fill and clone tools.
Instance methods
gimp_pattern_get_buffer
Gets pixel data of the pattern within the bounding box specified by max_width
and max_height
. The data will be scaled down so that it fits within this
size without changing its ratio. If the pattern is smaller than this size to
begin with, it will not be scaled up.
Methods inherited from GimpResource (12)
gimp_resource_delete
Deletes a resource.
since: 3.0
gimp_resource_duplicate
Duplicates a resource.
since: 3.0
gimp_resource_get_id
mostly internal data and not reusable across sessions.
since: 3.0
gimp_resource_get_name
Returns the resource’s name.
since: 3.0
gimp_resource_is_brush
Returns whether the resource is a brush.
since: 3.0
gimp_resource_is_editable
Whether the resource can be edited.
since: 3.0
gimp_resource_is_font
Returns whether the resource is a font.
since: 3.0
gimp_resource_is_gradient
Returns whether the resource is a gradient.
since: 3.0
gimp_resource_is_palette
Returns whether the resource is a palette.
since: 3.0
gimp_resource_is_pattern
Returns whether the resource is a pattern.
since: 3.0
gimp_resource_is_valid
Returns TRUE if the resource is valid.
since: 3.0
gimp_resource_rename
Renames a resource. When the name is in use, renames to a unique name.
since: 3.0
Properties
Properties inherited from GimpResource (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.