Method
GimpItemtransform_translate
since: 2.10
Declaration [src]
GimpItem*
gimp_item_transform_translate (
GimpItem* item,
gdouble off_x,
gdouble off_y
)
Description [src]
Translate the item by the specified offsets.
This procedure translates the item by the amounts specified in the off_x and off_y arguments. These can be negative, and are considered offsets from the current position. The offsets will be rounded to the nearest pixel unless the item is a path.
Available since: 2.10
Return value
Type: GimpItem
The translated item.
The data is owned by the instance. |