Zen API
|
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.
image | Image object. |
x | Column index. |
y | Row index. |
pixel | Pointer to pixel value that will be copied into the image. |