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
Public Member Functions | |
---|---|
IMPORT_C void | RenderScalableItemL ( MAknsSkinInstance *, const TAknsItemID &, CFbsBitmap *&, CFbsBitmap *&, const TRect &, const CFbsBitmap *, const CFbsBitmap *) |
Private Member Functions | |
---|---|
AknsRendererWrapper () | |
~AknsRendererWrapper () |
IMPORT_C void | RenderScalableItemL | ( | 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.
MAknsSkinInstance * aSkin | Pointer to the skin instance. |
const TAknsItemID & aIID | Item ID of the scalable item to be rendered. |
CFbsBitmap *& aOutRGB | If 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 *& aOutAlpha | If 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 & aRect | Position and size of the item in parent coordinate system. If no parent item is given, use TRect( TPoint(0,0), yourSize ). |
const CFbsBitmap * aInRGB | Optional parent element RGB channel bitmap, or NULL. |
const CFbsBitmap * aInAlpha | Optional parent element alpha channel bitmap, or NULL. |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.