AknsRendererWrapper Class Reference

class AknsRendererWrapper

Utility class that allows access to default renderer for scalable skin items.

This is a static public class with exported members.

AknSkins.lib

Since
2.8
Public Member Functions
IMPORT_C voidRenderScalableItemL(MAknsSkinInstance *, const TAknsItemID &, CFbsBitmap *&, CFbsBitmap *&, const TRect &, const CFbsBitmap *, const CFbsBitmap *)
Private Member Functions
AknsRendererWrapper()
~AknsRendererWrapper()

Constructor & Destructor Documentation

AknsRendererWrapper()

AknsRendererWrapper()[private]

~AknsRendererWrapper()

~AknsRendererWrapper()[private]

Member Functions Documentation

RenderScalableItemL(MAknsSkinInstance *, const TAknsItemID &, CFbsBitmap *&, CFbsBitmap *&, const TRect &, const CFbsBitmap *, const CFbsBitmap *)

IMPORT_C voidRenderScalableItemL(MAknsSkinInstance *aSkin,
const TAknsItemID &aIID,
CFbsBitmap *&aOutRGB,
CFbsBitmap *&aOutAlpha,
const TRect &aRect,
const CFbsBitmap *aInRGB,
const CFbsBitmap *aInAlpha
)[static]

Renders the given scalable item to a newly constructed bitmap and mask.

Since
2.8
Exceptions:
If the rendering fails or no scalable item with the given item ID is found, the method leaves with an error code.

Parameters

MAknsSkinInstance * aSkinPointer to the skin instance.
const TAknsItemID & aIIDItem ID of the scalable item to be rendered.
CFbsBitmap *& aOutRGBIf the method completes successfully, a pointer to a newly constructed bitmap containing the RGB channel of the item. The ownership of the bitmap is transferred to the caller.
CFbsBitmap *& aOutAlphaIf the method completes successfully, a pointer to a newly constructed bitmap containing the alpha channel of the item, or NULL. The ownership of the bitmap is transferred to the caller.
const TRect & aRectPosition and size of the item in parent coordinate system. If no parent item is given, use TRect( TPoint(0,0), yourSize ).
const CFbsBitmap * aInRGBOptional parent element RGB channel bitmap, or NULL.
const CFbsBitmap * aInAlphaOptional parent element alpha channel bitmap, or NULL.