|
CartoType API
|
#include <cartotype_graphics.h>
Static Public Member Functions | |
| static CT_IMPORT CBitmap * | New (TResult &aError, TType aType, int32 aWidth, int32 aHeight, int32 aRowBytes=0) |
| static CT_IMPORT CBitmap * | New (TResult &aError, MInputStream &aInputStream) |
Protected Member Functions | |
| CBitmap (TType aType, uint8 *aData, int32 aWidth, int32 aHeight, int32 aRowBytes) | |
A bitmap that owns its data.
| CT_EXPORT CBitmap * CBitmap::New | ( | TResult & | aError, |
| TType | aType, | ||
| int32 | aWidth, | ||
| int32 | aHeight, | ||
| int32 | aRowBytes = 0 |
||
| ) | [static] |
Create a bitmap that owns its data. If aRowBytes is less than the minimum possible set the number of bytes per row to the minimum possible.
| CT_EXPORT CBitmap * CBitmap::New | ( | TResult & | aError, |
| MInputStream & | aInputStream | ||
| ) | [static] |
Create a bitmap from a stream, starting at the current position. Supported source bitmap types: PNG and JPEG.
1.7.5.1