ScaleTransition

class ScaleTransition: public Transition

Implements a transition that scales the specified data element by the given amount along the X and Y axes.

Inherits from <>.

Summary
ScaleTransitionImplements a transition that scales the specified data element by the given amount along the X and Y axes.
Functions
ScaleTransitionInitializes the object.
~ScaleTransitionReleases all allocated resources.
UpdateUpdates the transition by executing one scaling step.
CompleteChecks if the transition is completed.

Functions

ScaleTransition

ScaleTransition(DataElement *pDataElement,
float fDeltaX,
float fDeltaY,
int iTotalSteps)

Initializes the object.

Parameters

pDataElementPointer to the data element to be altered.
fDeltaXTotal horizontal scaling value.
fDeltaYTotal vertical scaling value.
iTotalStepsDuration of the transition in steps.

~ScaleTransition

~ScaleTransition()

Releases all allocated resources.

Update

void Update()

Updates the transition by executing one scaling step.  Inherited from Transition.

Complete

bool Complete()

Checks if the transition is completed.  Inherited from Transition.

Returns

A boolean value indicating if the transition is completed.

class ScaleTransition: public Transition
Implements a transition that scales the specified data element by the given amount along the X and Y axes.
ScaleTransition(DataElement *pDataElement,
float fDeltaX,
float fDeltaY,
int iTotalSteps)
Initializes the object.
~ScaleTransition()
Releases all allocated resources.
void Update()
Updates the transition by executing one scaling step.
bool Complete()
Checks if the transition is completed.
class Transition
Abstract class that implements the skeleton of a transition.
Close