Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kImage_SetPixel ( kImage  image,
kSize  x,
kSize  y,
const void *  pixel 
)

Sets the value of a pixel.

This method is convenient in some contexts, but is not an efficient method to manipulate many pixels. In performance-critical code, use kImage_RowAt to directly access the pixel buffer.

Parameters
imageImage object.
xColumn index.
yRow index.
pixelPointer to pixel value that will be copied into the image.
Returns
Operation status.