CSmilTransitionFilter Class Reference

class CSmilTransitionFilter : public CBase

Subclasses of this class are concrete transition effect implementations

Inherits from

Constructor & Destructor Documentation

CSmilTransitionFilter()

IMPORT_C CSmilTransitionFilter ( ) [protected]

Constructor

~CSmilTransitionFilter()

IMPORT_C ~CSmilTransitionFilter ( ) [virtual]

Virtual destructor

Member Functions Documentation

ActivateL(const TSmilTime &)

IMPORT_C void ActivateL ( const TSmilTime & aTime )

Internal, don't use

Parameters

const TSmilTime & aTime

BeginTransitionL()

void BeginTransitionL ( )

Close()

void Close ( )

ConstructL(MSmilMedia *)

IMPORT_C void ConstructL ( MSmilMedia * aMedia ) [virtual]

Invoke this from the subclass constructor

Parameters

MSmilMedia * aMedia

Draw(CGraphicsContext &, const TRect &, const CFbsBitmap *, const TPoint &, const CFbsBitmap *)

void Draw ( CGraphicsContext & aGc,
const TRect & aRect,
const CFbsBitmap * aTargetBitmap,
const TPoint & aTarget,
const CFbsBitmap * aMaskBitmap = 0
) [pure virtual]

Draw the aTargetBitmap to the graphics context, using the optional aMaskBitmap, implementing a transition effect. The iPercent field, running from 0 to 100, tells the current state of the transition.

Parameters

CGraphicsContext & aGc
const TRect & aRect
const CFbsBitmap * aTargetBitmap
const TPoint & aTarget
const CFbsBitmap * aMaskBitmap = 0

EndTransition()

void EndTransition ( )

Media()

IMPORT_C MSmilMedia * Media ( ) const

Pointer to the media object the transition is attached to

ResolutionMilliseconds()

TInt ResolutionMilliseconds ( ) const [pure virtual]

Implement to return how often the transition should be updated, in milliseconds

TransitionEnding()

IMPORT_C void TransitionEnding ( ) [protected, virtual]

Override to get signaled when a transition ens (may free resources)

TransitionStartingL()

IMPORT_C void TransitionStartingL ( ) [protected, virtual]

Override to get signaled when a transition starts (may allocate resources)

Member Data Documentation

TBool iIsActive

TBool iIsActive

CSmilMedia * iMedia

CSmilMedia * iMedia [protected]

TInt iPercent

TInt iPercent

TSmilTime iStartTime

TSmilTime iStartTime [protected]

TBool iTransOut

TBool iTransOut

CSmilTransition * iTransition

CSmilTransition * iTransition

TSmilTime iTransitionTime

TSmilTime iTransitionTime [protected]