Constructors


Functions

 CxImage::CxImage (uint32_t imagetype=0)
 CxImage::CxImage (uint32_t dwWidth, uint32_t dwHeight, uint32_t wBpp, uint32_t imagetype=0)
 CxImage::CxImage (const CxImage &src, bool copypixels=true, bool copyselection=true, bool copyalpha=true)
 CxImage::CxImage (const TCHAR *filename, uint32_t imagetype)
 CxImage::CxImage (FILE *stream, uint32_t imagetype)
 CxImage::CxImage (CxFile *stream, uint32_t imagetype)
 CxImage::CxImage (uint8_t *buffer, uint32_t size, uint32_t imagetype)
virtual CxImage::~CxImage ()
CxImageCxImage::operator= (const CxImage &)

Detailed Description


Function Documentation

CxImage::CxImage ( uint8_t *  buffer,
uint32_t  size,
uint32_t  imagetype 
) [inherited]

Constructor from memory buffer, see Decode()

Parameters:
buffer,: memory buffer
size,: size of buffer
imagetype,: file format, see ENUM_CXIMAGE_FORMATS

CxImage::CxImage ( CxFile stream,
uint32_t  imagetype 
) [inherited]

Constructor from CxFile object, see Decode()

Parameters:
stream,: file handle (CxMemFile or CxIOFile), with read access.
imagetype,: file format, see ENUM_CXIMAGE_FORMATS

CxImage::CxImage ( FILE *  stream,
uint32_t  imagetype 
) [inherited]

Constructor from file handle, see Decode()

Parameters:
stream,: file handle, with read access.
imagetype,: file format, see ENUM_CXIMAGE_FORMATS

CxImage::CxImage ( const TCHAR *  filename,
uint32_t  imagetype 
) [inherited]

Constructor from file name, see Load()

Parameters:
filename,: file name
imagetype,: file format, see ENUM_CXIMAGE_FORMATS

CxImage::CxImage ( const CxImage src,
bool  copypixels = true,
bool  copyselection = true,
bool  copyalpha = true 
) [inherited]

image constructor from existing source

Parameters:
src,: source image.
copypixels,: copy the pixels from the source image into the new image.
copyselection,: copy the selection from source
copyalpha,: copy the alpha channel from source
See also:
Copy

CxImage::CxImage ( uint32_t  dwWidth,
uint32_t  dwHeight,
uint32_t  wBpp,
uint32_t  imagetype = 0 
) [inherited]

Sized image constructor

Parameters:
dwWidth,: width
dwHeight,: height
wBpp,: bit per pixel, can be 1, 4, 8, 24
imagetype,: (optional) set the image format, see ENUM_CXIMAGE_FORMATS

CxImage::CxImage ( uint32_t  imagetype = 0  )  [inherited]

Empty image constructor

Parameters:
imagetype,: (optional) set the image format, see ENUM_CXIMAGE_FORMATS

CxImage & CxImage::operator= ( const CxImage isrc  )  [inherited]

See also:
Copy

virtual CxImage::~CxImage (  )  [inline, virtual, inherited]


Generated on Fri Jan 7 21:44:32 2011 for CxImage by  doxygen 1.5.4