CopyOutBGR() copies the RGB data from a rectangle into a buffer and flips the Red and Blue channels. The buffer must be width*height*3 bytes in size.
Definition at line 1645 of file CATImage.cpp. References AbsWidth(), CAT_ERR_IMAGE_MUST_INITIALIZE, CAT_ERR_IMAGE_OVERLAY_OUT_OF_BOUNDS, CAT_SUCCESS, CATASSERT, CATRESULT, fData, fHeight, fWidth, kBytesPerPixel, XOffsetAbs(), and YOffsetAbs(). Referenced by CATWindow::OSDraw().
|