Share via


CImage::SetPixelIndexed

Sets the pixel color to the color located at iIndex in the color palette.

void SetPixelIndexed(
   int x,
   int y,
   int iIndex 
) throw( );

Parameters

  • x
    The horizontal location of the pixel to set.

  • y
    The vertical location of the pixel to set.

  • iIndex
    The index of a color in the color palette.

Requirements

Header: atlimage.h

See Also

Reference

CImage Class

CImage::SetPixel

CImage::SetPixelRGB

Other Resources

CImage Members