Method
GimpDrawableoffset
Declaration [src]
gboolean
gimp_drawable_offset (
GimpDrawable* drawable,
gboolean wrap_around,
GimpOffsetType fill_type,
GeglColor* color,
gint offset_x,
gint offset_y
)
Description [src]
Offset the drawable by the specified amounts in the X and Y directions
This procedure offsets the specified drawable by the amounts specified by ‘offset_x’ and ‘offset_y’. If ‘wrap_around’ is set to TRUE, then portions of the drawable which are offset out of bounds are wrapped around. Alternatively, the undefined regions of the drawable can be filled with transparency or the background color, as specified by the ‘fill-type’ parameter.
Parameters
wrap_around-
Type:
gbooleanWrap image around or fill vacated regions.
fill_type-
Type:
GimpOffsetTypeFill vacated regions of drawable with background or transparent.
color-
Type:
GeglColorFills in the background color when fill_type is set to OFFSET-COLOR.
The data is owned by the caller of the method. offset_x-
Type:
gintOffset by this amount in X direction.
offset_y-
Type:
gintOffset by this amount in Y direction.