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.

Member Functions Documentation

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

TInt WriteRgbOutlineAndShadow ( TInt aX,
TInt aY,
const TInt aLength,
TUint32 aOutlinePenColor,
TUint32 aShadowColor,
TUint32 aFillColor,
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 aX Logical X coordinate of the start of the line.
TInt aY Logical Y coordinate of the line.
const TInt aLength Length in pixels to modify.
TUint32 aOutlinePenColor Outline pen colour of the font.
TUint32 aShadowColor Shadow colour of the font.
TUint32 aFillColor Fill colour of the font.
const TUint8 * aDataBuffer Buffer containing the data.