void SetPixel( int column, int row, unsigned int colorValue );


column  zero based image pixel column index
row zero based image pixel row index. Row index grows from bottom to top.

Color value. The 32 bit unsigned int color value format used by CRasterImage object is compatible with COLORREF type values produced by Win32 RGB macro. If storage type of the image is GL_RGBA then highest byte of the unsigned int color value specifies alhpa channel value.


The SetPixel function sets specified image pixel to specified colorValue.

This function is available since ClassGL version 3.6.10.

See Also

CRasterImage class methods