CopyImage() creates a new image of the same type as srcImg and stores it in dstImg. The data from srcImg is copied into a buffer owned by dstImg. Caller must call CATImage::ReleaseImage() on the returned image when done. This version allows you to specify offsets, width, and height of the data to copy into a new image.
Definition at line 234 of file CATImage.cpp. References AbsWidth(), CAT_ERR_IMAGE_INVALID_SUB_POSITION, CAT_ERR_IMAGE_NULL, CAT_SUCCESS, CATASSERT, CATFAILED, CATRESULT, CreateImage(), fData, fHeight, fWidth, kBytesPerPixel, XOffsetAbs(), and YOffsetAbs().
|