TImageBitmapUtil Class Reference
Nested Classes and Structures
Constructor & Destructor Documentation
TImageBitmapUtil()
IMPORT_C
|
TImageBitmapUtil
|
(
|
)
|
|
Default constructor for this class.
Member Functions 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.
Parameters
const
TPoint
& aPosition
|
The position to move to.
|
SetBitmapL(CFbsBitmap *)
Sets the current bitmap to aBitmap.
-
leave
-
KErrNotFound The bitmap or its handle is NULL or its display mode is not recognised.
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.
Parameters
TUint32
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.
Parameters
TUint32
* aPixelIndex
|
A pointer to the first element in the array.
|
TInt
aNumberOfPixels
|
The number of elements in the array.
|
SetPos(const TPoint &)
Sets the current position in the bitmap to aPosition.
Parameters
const
TPoint
& aPosition
|
The position to move to.
|
Member Data Documentation
TInt
iPixelShift
TInt
|
iPixelShift
|
[private]
|
TInt
iPixelsPerWord
TInt
|
iPixelsPerWord
|
[private]
|
TInt
iScanlineWordLength
TInt
|
iScanlineWordLength
|
[private]
|
TBool
iWordAccess
TBool
|
iWordAccess
|
[private]
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.