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::TDrawModeaDrawMode,
TIntaShadowMode
)[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 & aDestLogical coordinates of the position in the target that the result should be drawn to.
CFbsDrawDevice * aSrcDrawDeviceDraw device that will act as the source of the blit.
const TRect & aSrcRectThe rectangular region of the source to be blitted.
CGraphicsContext::TDrawMode aDrawModeCurrent draw mode
TInt aShadowModeCurrent shadow mode

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

TInt FastBlendBitmap(const TPoint &aDest,
const TUint32 *aSrcBase,
TIntaSrcStride,
const TSize &aSrcSize,
const TRect &aSrcRect,
TDisplayModeaSrcDisplayMode,
CGraphicsContext::TDrawModeaDrawMode,
TIntaShadowMode
)[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 & aDestLogical coordinates of the position in the target that the result should be drawn to.
const TUint32 * aSrcBaseBase address of the source bitmap.
TInt aSrcStrideLength in bytes between scanlines of the source bitmap.
const TSize & aSrcSizeSize of the source bitmap in pixels.
const TRect & aSrcRectThe rectangular region of the source to be blitted.
TDisplayMode aSrcDisplayModeDisplay mode of the source bitmap
CGraphicsContext::TDrawMode aDrawModeCurrent draw mode
TInt aShadowModeCurrent 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,
TIntaSrcStride,
const TSize &aSrcSize,
const TRect &aSrcRect,
TDisplayModeaSrcDisplayMode,
const TUint32 *aMaskBase,
TIntaMaskStride,
TDisplayModeaMaskDisplayMode,
const TSize &aMaskSize,
const TPoint &aMaskSrcPos,
TBoolaInvertMask,
CGraphicsContext::TDrawModeaDrawMode,
TIntaShadowMode
)[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 & aDestLogical coordinates of the position in the target that the result should be drawn to.
const TUint32 * aSrcBaseBase address of the source bitmap.
TInt aSrcStrideLength in bytes between scanlines of the source bitmap.
const TSize & aSrcSizeSize of the source bitmap in pixels.
const TRect & aSrcRectThe rectangular region of the source to be blitted.
TDisplayMode aSrcDisplayModeDisplay mode of the source bitmap
const TUint32 * aMaskBaseBase address of the source bitmap.
TInt aMaskStrideLength in bytes between scanlines of the source bitmap.
TDisplayMode aMaskDisplayModeDisplay mode of the source bitmap
const TSize & aMaskSizeSize of the source bitmap in pixels.
const TPoint & aMaskSrcPos
TBool aInvertMaskIf true invert the logic of an EGray2 mask
CGraphicsContext::TDrawMode aDrawModeCurrent draw mode
TInt aShadowModeCurrent 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,
TIntaSrcStride,
TDisplayModeaSrcDisplayMode,
const TSize &aSrcSize,
const TUint32 *aMaskBase,
TIntaMaskStride,
TDisplayModeaMaskDisplayMode,
const TSize &aMaskSize,
TBoolaInvertMask,
CGraphicsContext::TDrawModeaDrawMode,
TIntaShadowMode
)[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 & aClipRectThe target rectangle to clip drawing to
const TRect & aDestLogical coordinates of the position in the target that the result should be drawn to.
const TRect & aSrcRectSource rectangle
const TUint32 * aSrcBaseBase address of the source bitmap.
TInt aSrcStrideLength in bytes between scanlines of the source bitmap.
TDisplayMode aSrcDisplayModeDisplay mode of the source bitmap
const TSize & aSrcSizeSize of the source bitmap in pixels.
const TUint32 * aMaskBaseBase address of the source bitmap.
TInt aMaskStrideLength in bytes between scanlines of the source bitmap.
TDisplayMode aMaskDisplayModeDisplay mode of the source bitmap
const TSize & aMaskSizeSize of the source bitmap in pixels.
TBool aInvertMaskIf true invert the logic of an EGray2 mask
CGraphicsContext::TDrawMode aDrawModeCurrent draw mode
TInt aShadowModeCurrent 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,
TIntaSrcStride,
TDisplayModeaSrcDisplayMode,
const TSize &aSrcSize,
CGraphicsContext::TDrawModeaDrawMode,
TIntaShadowMode
)[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 & aClipRectThe target rectangle to clip drawing to
const TRect & aDestLogical coordinates of the position in the target that the result should be drawn to.
const TRect & aSrcRectSource rectangle
const TUint32 * aSrcBaseBase address of the source bitmap.
TInt aSrcStrideLength in bytes between scanlines of the source bitmap.
TDisplayMode aSrcDisplayModeDisplay mode of the source bitmap
const TSize & aSrcSizeSize of the source bitmap in pixels.
CGraphicsContext::TDrawMode aDrawModeCurrent draw mode
TInt aShadowModeCurrent shadow mode