Location:
AnimationFrame.h
Link against: animationshared.lib
class CAnimationFrame : public CBase;
Data format for individual bitmap format animation frames.
Animators and data providers which use the "bitmap" data type use objects of this type to transfer data.
You do not need to instantiate an object of this type unless you are writing a new data provider.
CBase
- Base class for all classes to be instantiated on the heap
CAnimationFrame
- Data format for individual bitmap format animation frames
Defined in CAnimationFrame
:
Bitmap()
, Bitmap()
, CAnimationFrame_Reserved1()
, CAnimationFrame_Reserved2()
, CreateL()
, FrameInfo()
, FrameInfo()
, GetHandles()
, Mask()
, Mask()
, NewL()
, NewL()
, SetHandlesL()
, THandles
, ~CAnimationFrame()
Inherited from CBase
:
Delete()
,
Extension_()
,
operator new()
static IMPORT_C CAnimationFrame *NewL();
Two stage constructor.
After construction, the frame contains empty bitmaps.
|
static IMPORT_C CAnimationFrame *NewL(const THandles &aHandles);
Two stage constructor.
After construction, the frame contains the bitmaps specified in the handles argument.
|
|
IMPORT_C void GetHandles(THandles &aHandles) const;
Obtains an alternative representation of the frame suitable for transferring over most interfaces (a THandle uses handles instead of pointers).
|
IMPORT_C void SetHandlesL(const THandles &aHandles);
Sets the contents of the internal bitmaps to those represented by the handles.
|
IMPORT_C void CreateL(const TFrameInfo &aFrameInfo);
Initialises the internal bitmaps to the correct sizes for the frame.
|
inline CFbsBitmap *Bitmap();
Returns the bitmap image for the changed area for this frame
|
inline const CFbsBitmap *Bitmap() const;
Returns the bitmap image for the changed area for this frame
|
inline CFbsBitmap *Mask();
Returns the bitmap mask for the changed area for this frame
|
inline const CFbsBitmap *Mask() const;
Returns the bitmap mask for the changed area for this frame
|
inline TFrameInfo &FrameInfo();
Returns information about the frame.
|
inline const TFrameInfo &FrameInfo() const;
Returns information about the frame.
|
struct THandles;
Structure used for passing a CAnimationFrame
safely over a client/server connection.
Defined in CAnimationFrame::THandles
:
iBitmapHandle
, iFrameInfo
, iMaskHandle
iBitmapHandle
TInt iBitmapHandle;
A handle to the bitmap into which the decoded frame(s) are put
iMaskHandle
TInt iMaskHandle;
The bitmap mask for the changed area for this frame
iFrameInfo
TFrameInfo iFrameInfo;
General frame info provided by all plugins