MFastBlit2 Class Reference
MFastBlit2
provides optimised blitting for a number of special cases. It is used for basic blitting where source and destination pixel formats match.
Member Functions Documentation
Bits()
const
TUint32
*
|
Bits
|
(
|
)
|
const [pure virtual]
|
Returns a pointer to the first pixel.
WriteBitmapBlock(const TPoint &, CFbsDrawDevice *, const TRect &)
Performs basic blitting. Source and destination pixel formats must match. Assumes that aSrcRect is contained by the source device. Assumes that the resulting destination rectangle is contained by the destination device.
Parameters
const
TPoint
& aDest
|
Logical coordinates of the position in the target that the result should be drawn to.
|
CFbsDrawDevice
* aSrcDrawDevice
|
Draw device that will act as the source of the blit.
|
const
TRect
& aSrcRect
|
The rectangular region of the source to be blitted.
|
WriteBitmapBlock(const TPoint &, const TUint32 *, TInt, const TSize &, const TRect &)
Performs basic blitting. Source and destination pixel formats must match. Assumes that aSrcRect is contained by the source device. Assumes that the resulting destination rectangle is contained by the destination device.
Parameters
const
TPoint
& aDest
|
Logical coordinates of the position in the target that the result should be drawn to.
|
const
TUint32
* aSrcBase
|
Base address of the source bitmap.
|
TInt
aSrcStride
|
Length in bytes between scanlines of the source bitmap.
|
const
TSize
& aSrcSize
|
Size of the source bitmap in pixels.
|
const
TRect
& aSrcRect
|
The rectangular region of the source to be blitted.
|
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.