CRasterImage::SetPixel

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

Parameters

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

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.

Remarks

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