gimp-drawable-set-pixel

Spencer Kimball & Peter Mattis

Description

Sets the value of the pixel at the specified coordinates.

Help

This procedure sets the pixel value at the specified coordinates. The 'num_channels' argument must always be equal to the bytes-per-pixel value for the specified drawable. Note that this function is not undoable, you should use it only on drawables you just created yourself.


Type

unknown

Parameters

Type Name Description
PF_DRAWABLE drawable The drawable
PF_INT x-coord The x coordinate (x-coord >= 0)
PF_INT y-coord The y coordinate (y-coord >= 0)
PF_INT num-channels The number of channels for the pixel (num-channels >= 0)
unknown pixel The pixel value

Return

None