IHLBitmapUtil Class Reference

class IHLBitmapUtil

IHLBitmapUtil

Static utility class for synchronous CFbsBitmap operations. IHL.lib
Since
3.0

Member Functions Documentation

CopyBitmapL(const CFbsBitmap &)

IMPORT_C CFbsBitmap * CopyBitmapL ( const CFbsBitmap & aBitmap ) [static]
Copy bitmap into new same sized bitmap. New bitmap has unique server handle and it can be modified without risk of changes in given source bitmap.
Since
3.0

Parameters

const CFbsBitmap & aBitmap Copied bitmap reference.

CopyBitmapL(const CFbsBitmap &, const TRect &)

IMPORT_C CFbsBitmap * CopyBitmapL ( const CFbsBitmap & aBitmap,
const TRect & aRect
) [static]
Copy user defined area from source bitmap into new bitmap. New bitmap has unique server handle and it can be modified without risk of changes in given source bitmap.
Since
3.0

Parameters

const CFbsBitmap & aBitmap Source bitmap reference.
const TRect & aRect Copied rectangle from source bitmap.

CopyBitmapLC(const CFbsBitmap &)

IMPORT_C CFbsBitmap * CopyBitmapLC ( const CFbsBitmap & aBitmap ) [static]
Copy bitmap into new same sized bitmap. New bitmap has unique server handle and it can be modified without risk of changes in given source bitmap. New instance is pushed into CleanupStack .
Since
3.0

Parameters

const CFbsBitmap & aBitmap Copied bitmap reference.

CopyBitmapLC(const CFbsBitmap &, const TRect &)

IMPORT_C CFbsBitmap * CopyBitmapLC ( const CFbsBitmap & aBitmap,
const TRect & aRect
) [static]
Copy user defined area from source bitmap into new bitmap. New bitmap has unique server handle and it can be modified without risk of changes in given source bitmap. New instance is pushed into CleanupStack .
Since
3.0

Parameters

const CFbsBitmap & aBitmap Source bitmap reference.
const TRect & aRect Copied rectangle from source bitmap.

DuplicateBitmapL(const CFbsBitmap &)

IMPORT_C CFbsBitmap * DuplicateBitmapL ( const CFbsBitmap & aBitmap ) [static]
Create new bitmap instance using same server handle as in given bitmap. Note that modifying bitmap content will also change all other bitmap content that has same server handle.
Since
3.0

Parameters

const CFbsBitmap & aBitmap Duplicated bitmap reference.

DuplicateBitmapLC(const CFbsBitmap &)

IMPORT_C CFbsBitmap * DuplicateBitmapLC ( const CFbsBitmap & aBitmap ) [static]
Create new bitmap instance using same server handle as in given bitmap. Note that modifying bitmap content will also change all other bitmap content that has same server handle. New instance is pushed into CleanupStack .
Since
3.0

Parameters

const CFbsBitmap & aBitmap Duplicated bitmap reference.

ScaleBitmap(const CFbsBitmap &, CFbsBitmap &, TUint32)

IMPORT_C TInt ScaleBitmap ( const CFbsBitmap & aSrcBitmap,
CFbsBitmap & aDstBitmap,
TUint32 aOptions = 0
) [static]

Synchronous bitmap scaler. Use only with small bitmaps! Prefer asynchronous MIHLScaler instead.

Scale source bitmap into destination bitmap.
Since
3.0

Parameters

const CFbsBitmap & aSrcBitmap Source bitmap reference.
CFbsBitmap & aDstBitmap Destination bitmap reference. If destination bitmap has null handle, processor will create new bitmap using size of destination rectangle.
TUint32 aOptions = 0 Reserved for future use.

ScaleBitmap(const CFbsBitmap &, const TRect &, CFbsBitmap &, const TRect &, TUint32)

IMPORT_C TInt ScaleBitmap ( const CFbsBitmap & aSrcBitmap,
const TRect & aSrcRect,
CFbsBitmap & aDstBitmap,
const TRect & aDstRect,
TUint32 aOptions = 0
) [static]

Synchronous bitmap scaler. Use only with small bitmaps! Prefer asynchronous MIHLScaler instead.

Scale rectangle from source bitmap to a rectangle in destination bitmap. Scaled area can be also rotated and/or mirrored during process. See full usage description from MIHLScaler header.
Since
3.0

Parameters

const CFbsBitmap & aSrcBitmap Source bitmap reference.
const TRect & aSrcRect Rectangle that is processed from source bitmap.
CFbsBitmap & aDstBitmap Destination bitmap reference. If destination bitmap has null handle, processor will create new bitmap using size of destination rectangle.
const TRect & aDstRect Rectangle that is filled in destination bitmap.
TUint32 aOptions = 0 Reserved for future use.