TImageBitmapUtil Class Reference
#include
<icl/imageprocessor.h>
Detailed Description
Bitmap utility class.
Constructor & Destructor Documentation
TImageBitmapUtil ( )
IMPORT_C | TImageBitmapUtil | ( | ) | |
Default constructor for this class.
Member Function Documentation
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.
Begin ( const TPoint & )
Requests a lock for the current bitmap from the font & bitmap server and sets the current position in the bitmap to aPosition.
Parameter | Description | aPosition | The position to move to. |
Returns: A boolean indicating if the position was out of bounds. EFalse if the position was out of bounds, otherwise ETrue.
SetBitmapL ( CFbsBitmap * )
Sets the current bitmap to aBitmap.
-
leave
- KErrNotFound The bitmap or its handle is NULL or its display mode is not recognised.
Parameter | Description | aBitmap | A pointer to the bitmap. |
SetPixel ( TUint32 )
IMPORT_C void | SetPixel | ( | TUint32 | aPixelIndex | ) | |
Sets the pixel value at the current bitmap position using aPixelIndex.
- Post-condition
- The current position is updated.
Parameter | Description | aPixelIndex | The pixel index. |
SetPixels ( TUint32 *, TInt )
IMPORT_C void | SetPixels | ( | TUint32 * | aPixelIndex, |
| TInt | aNumberOfPixels |
| ) | |
Sets an array of pixel values, starting at the current bitmap position using the values supplied in aPixelIndex.
- Post-condition
- The current position is updated.
Parameter | Description | aPixelIndex | A pointer to the first element in the array. |
aNumberOfPixels | The number of elements in the array. |
SetPos ( const TPoint & )
Sets the current position in the bitmap to aPosition.
Parameter | Description | aPosition | The position to move to. |
Returns: A boolean indicating if the position was out of bounds. EFalse if the position was out of bounds, otherwise ETrue.