Create - internal image creation function. Creates the buffer and sets it up, then calls AddRef().
Definition at line 390 of file CATImage.cpp. References AddRef(), CAT_ERR_IMAGE_INVALID_SIZE, CAT_ERR_OUT_OF_MEMORY, CAT_SUCCESS, CATRESULT, Clear(), fData, fHeight, fOwnData, fWidth, and kBytesPerPixel. Referenced by CreateImage(), CreateImageFromDIB(), and Load().
|