|
ICELib
1
|
iceBitmap interface definition More...
Classes | |
| class | iceBitmap |
| iceBitmap interface Simple utility class for passing around bitmap data Opaque structure. More... | |
Reference Counting | |
| void | iceBitmap::iceBitmapAddReference (iceBitmap *pBitmap) |
| Increase the refcount on the iceBitmap. | |
| void | iceBitmap::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 | |
| iceBitmap * | iceBitmap::iceBitmapCreate () |
| Create an empty bitmap object from file. | |
| iceBitmap * | iceBitmap::iceBitmapCreateFromFile (const char *filename) |
| Setup a bitmap object from file. | |
| iceBitmap * | iceBitmap::iceBitmapCreateFromFileEx (const char *filename, PixelFormatType targetFormat) |
| Setup a bitmap object from file. | |
| iceBitmap * | iceBitmap::iceBitmapCreateFromMemory (const unsigned char *bitmapData, unsigned long dataLength) |
| Setup a bitmap object from file. | |
| iceBitmap * | iceBitmap::iceBitmapCreateFromMemoryEx (const unsigned char *bitmapData, unsigned long dataLength, PixelFormatType targetFormat) |
| Setup a bitmap object from file. | |
| iceBitmap * | iceBitmap::iceBitmapCreateFromMemoryDirect (unsigned long width, unsigned long height, unsigned long stride, PixelFormatType pft, const unsigned char *data) |
| Setup a bitmap object from file. | |
Copying | |
| iceBitmap * | iceBitmap::iceBitmapClone (const iceBitmap *pBitmap) |
| Create a new bitmap object from an existing one. | |
| IceCoreResult | iceBitmap::iceBitmapCopy (iceBitmap *dst, const iceBitmap *src) |
| Copy bitmap data from one bitmap to another. | |
Saving | |
| IceCoreResult | iceBitmap::iceBitmapSave (const iceBitmap *pBitmap, const char *filename, ImageFileType fileType) |
| Setup a bitmap object from file. | |
| IceCoreResult | iceBitmap::iceBitmapSaveToMemory (const iceBitmap *pBitmap, unsigned char *buffer, unsigned long *bufferSize, ImageFileType fileType) |
| Setup a bitmap object from file. | |
Properties | |
| void | iceBitmap::iceBitmapGetDimensions (const iceBitmap *pBitmap, unsigned long *widthPixels, unsigned long *heightPixels) |
| Setup a bitmap object from file. | |
| unsigned long | iceBitmap::iceBitmapGetHeight (const iceBitmap *pBitmap) |
| Setup a bitmap object from file. | |
| unsigned long | iceBitmap::iceBitmapGetWidth (const iceBitmap *pBitmap) |
| Setup a bitmap object from file. | |
| unsigned long | iceBitmap::iceBitmapGetStride (const iceBitmap *pBitmap) |
| Setup a bitmap object from file. | |
| unsigned long | iceBitmap::iceBitmapGetBitmapFlags (const iceBitmap *pBitmap) |
| Setup a bitmap object from file. | |
| PixelFormatType | iceBitmap::iceBitmapGetPixelFormat (const iceBitmap *pBitmap) |
| Setup a bitmap object from file. | |
| IceCoreResult | iceBitmap::iceBitmapChangePixelFormat (iceBitmap *pBitmap, PixelFormatType pixelType) |
| Setup a bitmap object from file. | |
iceBitmap interface definition
Functions for loading a bmp,jpg,png image
| void iceBitmapAddReference | ( | iceBitmap * | pBitmap | ) |
| IceCoreResult iceBitmapChangePixelFormat | ( | iceBitmap * | pBitmap, |
| PixelFormatType | pixelType | ||
| ) |
Setup a bitmap object from file.
| filename | the name of the bitmap file to read in. |
| iceBitmap * iceBitmapClone | ( | const iceBitmap * | pBitmap | ) |
Create a new bitmap object from an existing one.
| [in] | pBitmap | pointer to bitmap to clone |
| IceCoreResult iceBitmapCopy | ( | iceBitmap * | dst, |
| const iceBitmap * | src | ||
| ) |
Copy bitmap data from one bitmap to another.
| filename | the name of the bitmap file to read in. |
| iceBitmap * iceBitmapCreate | ( | ) |
Create an empty bitmap object from file.
| iceBitmap * iceBitmapCreateFromFile | ( | const char * | filename | ) |
Setup a bitmap object from file.
| filename | the name of the bitmap file to read in. |
| iceBitmap * iceBitmapCreateFromFileEx | ( | const char * | filename, |
| PixelFormatType | targetFormat | ||
| ) |
Setup a bitmap object from file.
| filename | the name of the bitmap file to read in. |
| iceBitmap * iceBitmapCreateFromMemory | ( | const unsigned char * | bitmapData, |
| unsigned long | dataLength | ||
| ) |
Setup a bitmap object from file.
| filename | the name of the bitmap file to read in. |
| iceBitmap * iceBitmapCreateFromMemoryDirect | ( | unsigned long | width, |
| unsigned long | height, | ||
| unsigned long | stride, | ||
| PixelFormatType | pft, | ||
| const unsigned char * | data | ||
| ) |
Setup a bitmap object from file.
| filename | the name of the bitmap file to read in. |
| iceBitmap * iceBitmapCreateFromMemoryEx | ( | const unsigned char * | bitmapData, |
| unsigned long | dataLength, | ||
| PixelFormatType | targetFormat | ||
| ) |
Setup a bitmap object from file.
| filename | the name of the bitmap file to read in. |
| unsigned long iceBitmapGetBitmapFlags | ( | const iceBitmap * | pBitmap | ) |
Setup a bitmap object from file.
| filename | the name of the bitmap file to read in. |
| void iceBitmapGetDimensions | ( | const iceBitmap * | pBitmap, |
| unsigned long * | widthPixels, | ||
| unsigned long * | heightPixels | ||
| ) |
Setup a bitmap object from file.
| filename | the name of the bitmap file to read in. |
| unsigned long iceBitmapGetHeight | ( | const iceBitmap * | pBitmap | ) |
Setup a bitmap object from file.
| filename | the name of the bitmap file to read in. |
| PixelFormatType iceBitmapGetPixelFormat | ( | const iceBitmap * | pBitmap | ) |
Setup a bitmap object from file.
| filename | the name of the bitmap file to read in. |
| unsigned long iceBitmapGetStride | ( | const iceBitmap * | pBitmap | ) |
Setup a bitmap object from file.
| filename | the name of the bitmap file to read in. |
| unsigned long iceBitmapGetWidth | ( | const iceBitmap * | pBitmap | ) |
Setup a bitmap object from file.
| filename | the name of the bitmap file to read in. |
| IceCoreResult iceBitmapSave | ( | const iceBitmap * | pBitmap, |
| const char * | filename, | ||
| ImageFileType | fileType | ||
| ) |
Setup a bitmap object from file.
| filename | the name of the bitmap file to read in. |
| IceCoreResult iceBitmapSaveToMemory | ( | const iceBitmap * | pBitmap, |
| unsigned char * | buffer, | ||
| unsigned long * | bufferSize, | ||
| ImageFileType | fileType | ||
| ) |
Setup a bitmap object from file.
| filename | the name of the bitmap file to read in. |
1.7.6.1