IHLBitmapUtil Class Reference

class IHLBitmapUtil

IHLBitmapUtil

Static utility class for synchronous CFbsBitmap operations. IHL.lib
Since
3.0
Public Member Functions
IMPORT_C CFbsBitmap *CopyBitmapL(const CFbsBitmap &)
IMPORT_C CFbsBitmap *CopyBitmapL(const CFbsBitmap &, const TRect &)
IMPORT_C CFbsBitmap *CopyBitmapLC(const CFbsBitmap &)
IMPORT_C CFbsBitmap *CopyBitmapLC(const CFbsBitmap &, const TRect &)
IMPORT_C CFbsBitmap *DuplicateBitmapL(const CFbsBitmap &)
IMPORT_C CFbsBitmap *DuplicateBitmapLC(const CFbsBitmap &)
IMPORT_C TIntScaleBitmap(const CFbsBitmap &, CFbsBitmap &, TUint32)
IMPORT_C TIntScaleBitmap(const CFbsBitmap &, const TRect &, CFbsBitmap &, const TRect &, TUint32)

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 & aBitmapCopied 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 & aBitmapSource bitmap reference.
const TRect & aRectCopied 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 & aBitmapCopied 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 & aBitmapSource bitmap reference.
const TRect & aRectCopied 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 & aBitmapDuplicated 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 & aBitmapDuplicated bitmap reference.

ScaleBitmap(const CFbsBitmap &, CFbsBitmap &, TUint32)

IMPORT_C TIntScaleBitmap(const CFbsBitmap &aSrcBitmap,
CFbsBitmap &aDstBitmap,
TUint32aOptions = 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 & aSrcBitmapSource bitmap reference.
CFbsBitmap & aDstBitmapDestination bitmap reference. If destination bitmap has null handle, processor will create new bitmap using size of destination rectangle.
TUint32 aOptions = 0Reserved for future use.

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

IMPORT_C TIntScaleBitmap(const CFbsBitmap &aSrcBitmap,
const TRect &aSrcRect,
CFbsBitmap &aDstBitmap,
const TRect &aDstRect,
TUint32aOptions = 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 & aSrcBitmapSource bitmap reference.
const TRect & aSrcRectRectangle that is processed from source bitmap.
CFbsBitmap & aDstBitmapDestination bitmap reference. If destination bitmap has null handle, processor will create new bitmap using size of destination rectangle.
const TRect & aDstRectRectangle that is filled in destination bitmap.
TUint32 aOptions = 0Reserved for future use.