Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <AnimationFrame.h>
Link against: animationshared.lib

Class CAnimationFrame

class CAnimationFrame : public CBase;

Description

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.

Derivation

Members

Defined in CAnimationFrame:

Inherited from CBase:

See also:


Construction and destruction


~CAnimationFrame()

virtual ~CAnimationFrame();

Description

Destructor.


NewL()

IMPORT_C static CAnimationFrame* NewL();

Description

Two stage constructor.

After construction, the frame contains empty bitmaps.

Return value

CAnimationFrame *

The new object


NewL(const THandles &)

IMPORT_C static CAnimationFrame* NewL(const THandles &aHandles);

Description

Two stage constructor.

After construction, the frame contains the bitmaps specified in the handles argument.

Parameters

const CAnimationFrame::THandles &aHandles

An internal data type used for transferring the contents

Return value

CAnimationFrame *

The new object

See also:

[Top]


Member functions


GetHandles(THandles &)const

IMPORT_C void GetHandles(THandles &aHandles) const;

Description

Obtains an alternative representation of the frame suitable for transferring over most interfaces (a THandle uses handles instead of pointers).

Parameters

CAnimationFrame::THandles &aHandles

A handles object to populate

See also:


SetHandlesL(const THandles &)

IMPORT_C void SetHandlesL(const THandles &aHandles);

Description

Sets the contents of the internal bitmaps to those represented by the handles.

Parameters

const CAnimationFrame::THandles &aHandles

A handles object obtained from a call to GetHandles

See also:


CreateL(const TFrameInfo &)

IMPORT_C void CreateL(const TFrameInfo &aFrameInfo);

Description

Initialises the internal bitmaps to the correct sizes for the frame.

Parameters

const TFrameInfo &aFrameInfo

A TFrameInfo object indicating the required size of the bitmaps.


Bitmap()

inline CFbsBitmap* Bitmap();

Description

Returns the bitmap image for the changed area for this frame

Return value

CFbsBitmap *

A pointer to a CFbsBitmap


Bitmap()const

inline const CFbsBitmap* Bitmap() const;

Description

Returns the bitmap image for the changed area for this frame

Return value

const CFbsBitmap *

A pointer to a const CFbsBitmap


Mask()

inline CFbsBitmap* Mask();

Description

Returns the bitmap mask for the changed area for this frame

Return value

CFbsBitmap *

A pointer to a CFbsBitmap


Mask()const

inline const CFbsBitmap* Mask() const;

Description

Returns the bitmap mask for the changed area for this frame

Return value

const CFbsBitmap *

A pointer to a const CFbsBitmap


FrameInfo()

inline TFrameInfo& FrameInfo();

Description

Returns information about the frame.

Return value

TFrameInfo &

A TFrameInfo


FrameInfo()const

inline const TFrameInfo& FrameInfo() const;

Description

Returns information about the frame.

Return value

const TFrameInfo &

A const TFrameInfo


CAnimationFrame_Reserved1()

protected: IMPORT_C virtual void CAnimationFrame_Reserved1();

Description

Reserved for future use


CAnimationFrame_Reserved2()

protected: IMPORT_C virtual void CAnimationFrame_Reserved2();

Description

Reserved for future use

[Top]


Member structures


Struct THandles

struct THandles;

Description

Structure used for passing a CAnimationFrame safely over a client/server connection.

Members

Defined in CAnimationFrame::THandles:

Member data


iBitmapHandle

TInt iBitmapHandle;

Description

A handle to the bitmap into which the decoded frame(s) are put


iMaskHandle

TInt iMaskHandle;

Description

The bitmap mask for the changed area for this frame


iFrameInfo

TFrameInfo iFrameInfo;

Description

General frame info provided by all plugins