#include <icl/imageprocessor.h>
class TImageBitmapUtil |
Public Member Functions | |
---|---|
TImageBitmapUtil() | |
IMPORT_C void | Begin() |
IMPORT_C TBool | Begin(const TPoint &) |
IMPORT_C void | End() |
IMPORT_C void | SetBitmapL(CFbsBitmap *) |
IMPORT_C void | SetPixel(TUint32) |
IMPORT_C void | SetPixels(TUint32 *, TInt) |
IMPORT_C TBool | SetPos(const TPoint &) |
Bitmap utility class.
IMPORT_C void | Begin | ( | ) |
Requests a lock for the current bitmap from the font & bitmap server and sets the current position in the bitmap to the first pixel.
Requests a lock for the current bitmap from the font & bitmap server and sets the current position in the bitmap to aPosition.
Parameters | |
---|---|
aPosition | The position to move to. |
IMPORT_C void | SetBitmapL | ( | CFbsBitmap * | aBitmap | ) |
Sets the current bitmap to aBitmap.
Parameters | |
---|---|
aBitmap | A pointer to the bitmap. |
Leave Codes | |
---|---|
KErrNotFound | The bitmap or its handle is NULL or its display mode is not recognised. |
IMPORT_C void | SetPixel | ( | TUint32 | aPixelIndex | ) |
Sets the pixel value at the current bitmap position using aPixelIndex.
Parameters | |
---|---|
aPixelIndex | The pixel index. |
Sets an array of pixel values, starting at the current bitmap position using the values supplied in aPixelIndex.
Parameters | |
---|---|
aPixelIndex | A pointer to the first element in the array. |
aNumberOfPixels | The number of elements in the array. |