class MFormCustomDraw |
An abstract class which specifies the protocol for customising the way text and its background are drawn.
Common uses for this are to implement custom highlighting or to draw a background bitmap. You must create an object of a class derived from this class and call CTextLayout::SetCustomDraw(), passing a pointer to the object. All of these functions have default implementations. Your class can override any of the virtual functions listed below.
Public Member Functions | |
---|---|
IMPORT_C void | DrawBackground(const TParam &, const TRgb &, TRect &) |
IMPORT_C void | DrawLineGraphics(const TParam &, const TLineInfo &) |
IMPORT_C void | DrawText(const TParam &, const TLineInfo &, const TCharFormat &, const TDesC &, const TPoint &, TInt) |
IMPORT_C void | DrawText(const TParam &, const TLineInfo &, const TCharFormat &, const TDesC &, const TInt, const TInt, const TPoint &, TInt) |
IMPORT_C void | MFormCustomDraw_Reserved_2() |
IMPORT_C TRgb | SystemColor(TUint, TRgb) |
IMPORT_C void | DrawBackground | ( | const TParam & | aParam, |
const TRgb & | aBackground, | |||
TRect & | aDrawn | |||
) | const [virtual] |
IMPORT_C void | DrawLineGraphics | ( | const TParam & | aParam, |
const TLineInfo & | aLineInfo | |||
) | const [virtual] |
IMPORT_C void | DrawText | ( | const TParam & | aParam, |
const TLineInfo & | aLineInfo, | |||
const TCharFormat & | aFormat, | |||
const TDesC & | aText, | |||
const TPoint & | aTextOrigin, | |||
TInt | aExtraPixels | |||
) | const [virtual] |
IMPORT_C void | DrawText | ( | const TParam & | aParam, |
const TLineInfo & | aLineInfo, | |||
const TCharFormat & | aFormat, | |||
const TDesC & | aText, | |||
const TInt | aStart, | |||
const TInt | aEnd, | |||
const TPoint & | aTextOrigin, | |||
TInt | aExtraPixels | |||
) | const [virtual] |