CSmilTransitionFilter Class Reference

class CSmilTransitionFilter : public CBase

Subclasses of this class are concrete transition effect implementations

Inherits from

  • CSmilTransitionFilter

Constructor & Destructor Documentation

CSmilTransitionFilter()

IMPORT_CCSmilTransitionFilter()[protected]

Constructor

~CSmilTransitionFilter()

IMPORT_C~CSmilTransitionFilter()[virtual]

Virtual destructor

Member Functions Documentation

ActivateL(const TSmilTime &)

IMPORT_C voidActivateL(const TSmilTime &aTime)

Internal, don't use

Parameters

const TSmilTime & aTime

BeginTransitionL()

voidBeginTransitionL()

Close()

voidClose()

ConstructL(MSmilMedia *)

IMPORT_C voidConstructL(MSmilMedia *aMedia)[virtual]

Invoke this from the subclass constructor

Parameters

MSmilMedia * aMedia

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

voidDraw(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()

voidEndTransition()

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 voidTransitionEnding()[protected, virtual]

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

TransitionStartingL()

IMPORT_C voidTransitionStartingL()[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]