gimpchannelops

Name

gimpchannelops -- 

Synopsis



gboolean    gimp_channel_ops_offset         (gint32 drawable_ID,
                                             gboolean wrap_around,
                                             GimpChannelOffsetType fill_type,
                                             gint offset_x,
                                             gint offset_y);
gint32      gimp_channel_ops_duplicate      (gint32 image_ID);

Description

Details

gimp_channel_ops_offset ()

gboolean    gimp_channel_ops_offset         (gint32 drawable_ID,
                                             gboolean wrap_around,
                                             GimpChannelOffsetType fill_type,
                                             gint offset_x,
                                             gint offset_y);

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.

drawable_ID : The drawable to offset.
wrap_around : wrap image around or fill vacated regions.
fill_type : fill vacated regions of drawable with background or transparent.
offset_x : offset by this amount in X direction.
offset_y : offset by this amount in Y direction.
Returns : TRUE on success.


gimp_channel_ops_duplicate ()

gint32      gimp_channel_ops_duplicate      (gint32 image_ID);

Duplicate the specified image

This procedure duplicates the specified image, copying all layers, channels, and image information.

image_ID : The image.
Returns : The new, duplicated image.