CartoType API
Static Public Member Functions | Protected Member Functions
CartoType::CBitmap Class Reference

#include <cartotype_graphics.h>

Inheritance diagram for CartoType::CBitmap:
CartoType::TBitmap

List of all members.

Static Public Member Functions

static CT_IMPORT CBitmapNew (TResult &aError, TType aType, int32 aWidth, int32 aHeight, int32 aRowBytes=0)
static CT_IMPORT CBitmapNew (TResult &aError, MInputStream &aInputStream)

Protected Member Functions

 CBitmap (TType aType, uint8 *aData, int32 aWidth, int32 aHeight, int32 aRowBytes)

Detailed Description

A bitmap that owns its data.


Member Function Documentation

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.


The documentation for this class was generated from the following files: