MultimediaPixelImage Enumeration CATDeallocatePixels
enum CATDeallocatePixels {
PixDeallocateYESdelete,
PixDeallocateYESfree,
PixDeallocateNO
}
Defines whether the pixel data in a CATPixelImage should be deallocated when the image is destroyed,
and how (free() or delete[]).
- Values:
-
- PixDeallocateYESdelete
- Pixel data has been allocated with the C++ new operator and will be deleted when the CATPixelImage is destroyed.
- PixDeallocateYESfree
- Pixel data has been allocated with the C malloc() function and will be deleted when the CATPixelImage is destroyed.
- PixDeallocateNO
- Pixel data should not be deleted when the CATPixelImage is destroyed. It is the user to deallocate the pixel data.
- See also:
-
This object is included in the file: CATPixelImage.h
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.