ICELib  1
iceBitmap Class Reference

iceBitmap interface Simple utility class for passing around bitmap data Opaque structure. More...

List of all members.

Public Member Functions

Reference Counting
void iceBitmapAddReference (iceBitmap *pBitmap)
 Increase the refcount on the iceBitmap.
void iceBitmapRelease (iceBitmap *pBitmap)
 Decrease the refcount on the iceBitmap Use this when you have finished using the iceBitmap interface You should set the pointer to NULL afterwards.
Construction
iceBitmapiceBitmapCreate ()
 Create an empty bitmap object from file.
iceBitmapiceBitmapCreateFromFile (const char *filename)
 Setup a bitmap object from file.
iceBitmapiceBitmapCreateFromFileEx (const char *filename, PixelFormatType targetFormat)
 Setup a bitmap object from file.
iceBitmapiceBitmapCreateFromMemory (const unsigned char *bitmapData, unsigned long dataLength)
 Setup a bitmap object from file.
iceBitmapiceBitmapCreateFromMemoryEx (const unsigned char *bitmapData, unsigned long dataLength, PixelFormatType targetFormat)
 Setup a bitmap object from file.
iceBitmapiceBitmapCreateFromMemoryDirect (unsigned long width, unsigned long height, unsigned long stride, PixelFormatType pft, const unsigned char *data)
 Setup a bitmap object from file.
Copying
iceBitmapiceBitmapClone (const iceBitmap *pBitmap)
 Create a new bitmap object from an existing one.
IceCoreResult iceBitmapCopy (iceBitmap *dst, const iceBitmap *src)
 Copy bitmap data from one bitmap to another.
Saving
IceCoreResult iceBitmapSave (const iceBitmap *pBitmap, const char *filename, ImageFileType fileType)
 Setup a bitmap object from file.
IceCoreResult iceBitmapSaveToMemory (const iceBitmap *pBitmap, unsigned char *buffer, unsigned long *bufferSize, ImageFileType fileType)
 Setup a bitmap object from file.
Properties
void iceBitmapGetDimensions (const iceBitmap *pBitmap, unsigned long *widthPixels, unsigned long *heightPixels)
 Setup a bitmap object from file.
unsigned long iceBitmapGetHeight (const iceBitmap *pBitmap)
 Setup a bitmap object from file.
unsigned long iceBitmapGetWidth (const iceBitmap *pBitmap)
 Setup a bitmap object from file.
unsigned long iceBitmapGetStride (const iceBitmap *pBitmap)
 Setup a bitmap object from file.
unsigned long iceBitmapGetBitmapFlags (const iceBitmap *pBitmap)
 Setup a bitmap object from file.
PixelFormatType iceBitmapGetPixelFormat (const iceBitmap *pBitmap)
 Setup a bitmap object from file.
IceCoreResult iceBitmapChangePixelFormat (iceBitmap *pBitmap, PixelFormatType pixelType)
 Setup a bitmap object from file.

Detailed Description

iceBitmap interface Simple utility class for passing around bitmap data Opaque structure.

 All Classes Functions