SetPixel() sets the red, green, blue, and alpha values for a specified pixel. This is for convenience and prototyping - for high-speed image processing you'll need to work more directly with the image buffer.
Definition at line 886 of file CATImage.cpp. References AbsWidth(), CAT_ERR_IMAGE_EMPTY, CAT_ERR_IMAGE_OUT_OF_RANGE, CAT_SUCCESS, CATASSERT, CATRESULT, fData, fHeight, fWidth, kBytesPerPixel, XOffsetAbs(), and YOffsetAbs(). Referenced by SetPixel().
|