MFastBlend Class Reference

class MFastBlend

Member Functions Documentation

FastBlendBitmap(const TPoint &, CFbsDrawDevice *, const TRect &, CGraphicsContext::TDrawMode, TInt)

TInt FastBlendBitmap ( const TPoint & aDest,
CFbsDrawDevice * aSrcDrawDevice,
const TRect & aSrcRect,
CGraphicsContext::TDrawMode aDrawMode,
TInt aShadowMode
) [pure virtual]

Performs blended blitting. The interface can selectively supports various combinations of source and destination. 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.
CGraphicsContext::TDrawMode aDrawMode Current draw mode
TInt aShadowMode Current shadow mode

FastBlendBitmap(const TPoint &, const TUint32 *, TInt, const TSize &, const TRect &, TDisplayMode, CGraphicsContext::TDrawMode, TInt)

TInt FastBlendBitmap ( const TPoint & aDest,
const TUint32 * aSrcBase,
TInt aSrcStride,
const TSize & aSrcSize,
const TRect & aSrcRect,
TDisplayMode aSrcDisplayMode,
CGraphicsContext::TDrawMode aDrawMode,
TInt aShadowMode
) [pure virtual]

Performs blended blitting. The interface can selectively supports various combinations of source and destination. 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.
TDisplayMode aSrcDisplayMode Display mode of the source bitmap
CGraphicsContext::TDrawMode aDrawMode Current draw mode
TInt aShadowMode Current shadow mode

FastBlendBitmapMasked(const TPoint &, const TUint32 *, TInt, const TSize &, const TRect &, TDisplayMode, const TUint32 *, TInt, TDisplayMode, const TSize &, const TPoint &, TBool, CGraphicsContext::TDrawMode, TInt)

TInt FastBlendBitmapMasked ( const TPoint & aDest,
const TUint32 * aSrcBase,
TInt aSrcStride,
const TSize & aSrcSize,
const TRect & aSrcRect,
TDisplayMode aSrcDisplayMode,
const TUint32 * aMaskBase,
TInt aMaskStride,
TDisplayMode aMaskDisplayMode,
const TSize & aMaskSize,
const TPoint & aMaskSrcPos,
TBool aInvertMask,
CGraphicsContext::TDrawMode aDrawMode,
TInt aShadowMode
) [pure virtual]

Performs blended blitting. The interface can selectively supports various combinations of source and destination. 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.
TDisplayMode aSrcDisplayMode Display mode of the source bitmap
const TUint32 * aMaskBase Base address of the source bitmap.
TInt aMaskStride Length in bytes between scanlines of the source bitmap.
TDisplayMode aMaskDisplayMode Display mode of the source bitmap
const TSize & aMaskSize Size of the source bitmap in pixels.
const TPoint & aMaskSrcPos
TBool aInvertMask If true invert the logic of an EGray2 mask
CGraphicsContext::TDrawMode aDrawMode Current draw mode
TInt aShadowMode Current shadow mode

FastBlendBitmapMaskedScaled(const TRect &, const TRect &, const TRect &, const TUint32 *, TInt, TDisplayMode, const TSize &, const TUint32 *, TInt, TDisplayMode, const TSize &, TBool, CGraphicsContext::TDrawMode, TInt)

TInt FastBlendBitmapMaskedScaled ( const TRect & aClipRect,
const TRect & aDest,
const TRect & aSrcRect,
const TUint32 * aSrcBase,
TInt aSrcStride,
TDisplayMode aSrcDisplayMode,
const TSize & aSrcSize,
const TUint32 * aMaskBase,
TInt aMaskStride,
TDisplayMode aMaskDisplayMode,
const TSize & aMaskSize,
TBool aInvertMask,
CGraphicsContext::TDrawMode aDrawMode,
TInt aShadowMode
) [pure virtual]

Performs scaled blended blitting. The interface can selectively supports various combinations of source and destination. Assumes that aClipRect is contained by the source device. Assumes that the resulting destination rectangle is contained by the destination device.

Parameters

const TRect & aClipRect The target rectangle to clip drawing to
const TRect & aDest Logical coordinates of the position in the target that the result should be drawn to.
const TRect & aSrcRect Source rectangle
const TUint32 * aSrcBase Base address of the source bitmap.
TInt aSrcStride Length in bytes between scanlines of the source bitmap.
TDisplayMode aSrcDisplayMode Display mode of the source bitmap
const TSize & aSrcSize Size of the source bitmap in pixels.
const TUint32 * aMaskBase Base address of the source bitmap.
TInt aMaskStride Length in bytes between scanlines of the source bitmap.
TDisplayMode aMaskDisplayMode Display mode of the source bitmap
const TSize & aMaskSize Size of the source bitmap in pixels.
TBool aInvertMask If true invert the logic of an EGray2 mask
CGraphicsContext::TDrawMode aDrawMode Current draw mode
TInt aShadowMode Current shadow mode

FastBlendBitmapScaled(const TRect &, const TRect &, const TRect &, const TUint32 *, TInt, TDisplayMode, const TSize &, CGraphicsContext::TDrawMode, TInt)

TInt FastBlendBitmapScaled ( const TRect & aClipRect,
const TRect & aDest,
const TRect & aSrcRect,
const TUint32 * aSrcBase,
TInt aSrcStride,
TDisplayMode aSrcDisplayMode,
const TSize & aSrcSize,
CGraphicsContext::TDrawMode aDrawMode,
TInt aShadowMode
) [pure virtual]

Performs scaled blended blitting. The interface can selectively supports various combinations of source and destination. Assumes that aClipRect is contained by the source device. Assumes that the resulting destination rectangle is contained by the destination device.

Parameters

const TRect & aClipRect The target rectangle to clip drawing to
const TRect & aDest Logical coordinates of the position in the target that the result should be drawn to.
const TRect & aSrcRect Source rectangle
const TUint32 * aSrcBase Base address of the source bitmap.
TInt aSrcStride Length in bytes between scanlines of the source bitmap.
TDisplayMode aSrcDisplayMode Display mode of the source bitmap
const TSize & aSrcSize Size of the source bitmap in pixels.
CGraphicsContext::TDrawMode aDrawMode Current draw mode
TInt aShadowMode Current shadow mode