MFastBlit Class Reference
MFastBlit
provides optimised blitting for a number of special cases. It is similar to
MAlphaBlend
except that instead of taking generic buffers as parameters, it takes pointers to scanlines in their native format.
Public Member Functions
|
void
|
WriteAlphaLineEx
(
TInt
,
TInt
,
TInt
,
TInt
, const
TUint32
*,
TDisplayMode
,
TInt
, const
TUint32
*,
MAlphaBlend::TShadowing
)
|
void
|
WriteMaskLineEx
(
TInt
,
TInt
,
TInt
,
TInt
, const
TUint32
*,
TDisplayMode
,
TInt
, const
TUint32
*,
TBool
)
|
Member Functions Documentation
WriteAlphaLineEx(TInt, TInt, TInt, TInt, const TUint32 *, TDisplayMode, TInt, const TUint32 *, MAlphaBlend::TShadowing)
Performs Alpha blending.Acceptable source formats are EColor64K and EColor16MU. Mask format must be EGray256.
Parameters
TInt
aX
|
Logical X coordinate of the position in the target the result should be drawn to.
|
TInt
aY
|
Logical Y coordinate of the position in the target the result should be drawn to.
|
TInt
aLength
|
Source data - length in pixels.
|
TInt
aSrcX
|
X coordinate of the position of the first pixel in the source bitmap to use.
|
const
TUint32
* aSrcPtr
|
Pointer to the start of the current scanline of the source bitmap.
|
TDisplayMode
aSrcFormat
|
Pixel format of the source bitmap.
|
TInt
aMaskX
|
X coordinate of the position of the first pixel in the mask to use.
|
const
TUint32
* aMaskPtr
|
Pointer to the start of the current scanline of the mask bitmap.
|
MAlphaBlend::TShadowing
aShadowing
|
It says when the shadowing/fading has to be done - before or after the alpha blending transformation. Before: A shadow/fade copy of the source bitmap will be used. After: The result pixels will be shadowed/faded.
|
WriteMaskLineEx(TInt, TInt, TInt, TInt, const TUint32 *, TDisplayMode, TInt, const TUint32 *, TBool)
Performs masked blitting. Acceptable source formats are EColor64K and EColor16MU. Mask format must be EGray2.
Parameters
TInt
aX
|
Logical X coordinate of the position in the target the result should be drawn to.
|
TInt
aY
|
Logical Y coordinate of the position in the target the result should be drawn to.
|
TInt
aLength
|
Source data - length in pixels.
|
TInt
aSrcX
|
X coordinate of the position of the first pixel in the source bitmap to use.
|
const
TUint32
* aSrcPtr
|
Pointer to the start of the current scanline of the source bitmap.
|
TDisplayMode
aSrcFormat
|
Pixel format of the source bitmap.
|
TInt
aMaskX
|
X coordinate of the position of the first pixel in the mask to use.
|
const
TUint32
* aMaskPtr
|
Pointer to the start of the current scanline of the mask bitmap.
|
TBool
aInvertMask
|
Specifies if the mask shuld be inverted.
|
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.