SetSubPosition() moves the ROI of the image within its parent. Will return CAT_ERR_IMAGE_OPERATION_INVALID_ON_ROOT if you try to use this on a root image instead of a sub image.
Definition at line 740 of file CATImage.cpp. References CAT_ERR_IMAGE_INVALID_SUB_POSITION, CAT_ERR_IMAGE_OPERATION_INVALID_ON_ROOT, CAT_SUCCESS, CATASSERT, CATRESULT, fData, fHeight, fParentImage, fWidth, fXOffset, fYOffset, and IsImageRoot().
|