|
Public Member Functions |
virtual | ~MAknPictographDrawer () |
| Destructor.
|
virtual HBufC * | SupportedPictographCodesL () const =0 |
| Returns a heap descriptor filled with all supported pictograph codes.
|
virtual TBool | IsPictograph (TText aCode) const =0 |
| Tells whether the character is in the pictograph code range.
|
virtual TBool | ContainsPictographs (const TDesC &aText) const =0 |
| Tells whether the text contains any pictographs.
|
virtual void | DrawPictograph (CBitmapContext &aGc, const TPoint &aTopLeft, TText aCode, TAknPictographHeight aHeight) const =0 |
| Draws pictograph bitmap in the given position.
|
virtual void | DrawPictograph (CBitmapContext &aGc, const TRect &aRect, TText aCode, TAknPictographHeight aHeight) const =0 |
| Draws pictograph bitmap centered in the given rect.
|
virtual void | DrawPictograph (CBitmapContext &aGc, const TRect &aRect, const TRect &aClipRect, TText aCode, TAknPictographHeight aHeight) const =0 |
| Draws pictograph bitmap centered in the given rect, clipped with clipping rect.
|
virtual void | DrawText (CBitmapContext &aGc, const CFont &aFont, const TDesC &aText, const TPoint &aPosition) const =0 |
| Draws text using CGraphicsContext::DrawText and then draws pictographs on top of that.
|
virtual void | DrawText (CBitmapContext &aGc, const CFont &aFont, const TDesC &aText, const TRect &aBox, TInt aBaselineOffset, CGraphicsContext::TTextAlign aAlignment=CGraphicsContext::ELeft, TInt aLeftMargin=0) const =0 |
| Draws text using CGraphicsContext::DrawText and then draws pictographs on top of that.
|
virtual void | DrawPictographsInText (CBitmapContext &aGc, const CFont &aFont, const TDesC &aText, const TPoint &aPosition) const =0 |
| Draws pictographs that are encountered in the text.
|
virtual void | DrawPictographsInText (CBitmapContext &aGc, const CFont &aFont, const TDesC &aText, const TRect &aBox, TInt aBaselineOffset, CGraphicsContext::TTextAlign aAlignment=CGraphicsContext::ELeft, TInt aLeftMargin=0) const =0 |
| Draws pictographs that are encountered in the text.
|
virtual TBool | IsAnimated (TText aCode, TAknPictographHeight aHeight) const =0 |
| Tells whether the given pictograph is animated or not.
|
virtual TInt | SelectPictographHeightForFont (const CFont &aFont, TAknPictographHeight &aHeight) const =0 |
| Tries to find a matching pictograph height for a given font.
|
virtual TAknPictographDrawingMode | SetPictographDrawingMode (TAknPictographDrawingMode aDrawingMode)=0 |
| Sets the pictograph drawing mode for DrawPictograph calls.
|