MOutlineAndShadowBlend Class Reference

class MOutlineAndShadowBlend

MOutlineAndShadowBlend provides blending of outline pen, shadow, fill and the background colour. It is used to draw the fonts with outline and shadow effects.

Public Member Functions
TInt WriteRgbOutlineAndShadow(TInt, TInt, const TInt, TUint32, TUint32, TUint32, const TUint8 *)

Member Functions Documentation

WriteRgbOutlineAndShadow(TInt, TInt, const TInt, TUint32, TUint32, TUint32, const TUint8 *)

TInt WriteRgbOutlineAndShadow(TIntaX,
TIntaY,
const TIntaLength,
TUint32aOutlinePenColor,
TUint32aShadowColor,
TUint32aFillColor,
const TUint8 *aDataBuffer
)[pure virtual]

Performs blending of outline, shadow, fill and background colours and draws to the screen. It uses pen colour as outline colour, brush colour as fill colour and pixel colour as background colour. Transparency is supported for modes higher than EColor256, alpha value of pen colour is used for same in these modes and other modes ignore this value.

Parameters

TInt aXLogical X coordinate of the start of the line.
TInt aYLogical Y coordinate of the line.
const TInt aLengthLength in pixels to modify.
TUint32 aOutlinePenColorOutline pen colour of the font.
TUint32 aShadowColorShadow colour of the font.
TUint32 aFillColorFill colour of the font.
const TUint8 * aDataBufferBuffer containing the data.