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 <>.
| ScaleTransition | Implements a transition that scales the specified data element by the given amount along the X and Y axes. |
| Functions | |
| ScaleTransition | Initializes the object. |
| ~ScaleTransition | Releases all allocated resources. |
| Update | Updates the transition by executing one scaling step. |
| Complete | Checks if the transition is completed. |
ScaleTransition( DataElement * pDataElement, float fDeltaX, float fDeltaY, int iTotalSteps )
Initializes the object.
| pDataElement | Pointer to the data element to be altered. |
| fDeltaX | Total horizontal scaling value. |
| fDeltaY | Total vertical scaling value. |
| iTotalSteps | Duration of the transition in steps. |
void Update()
Updates the transition by executing one scaling step. Inherited from Transition.
bool Complete()
Checks if the transition is completed. Inherited from Transition.
A boolean value indicating if the transition is completed.
Implements a transition that scales the specified data element by the given amount along the X and Y axes.
class ScaleTransition: public Transition
Initializes the object.
ScaleTransition( DataElement * pDataElement, float fDeltaX, float fDeltaY, int iTotalSteps )
Releases all allocated resources.
~ScaleTransition()
Updates the transition by executing one scaling step.
void Update()
Checks if the transition is completed.
bool Complete()
Abstract class that implements the skeleton of a transition.
class Transition