![]() Rogue Wave Views 5.5.1 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Transition Handler class. More...
#include <ilviews/util/transition.h>
Public Member Functions | |
| IlvBitmapTransitionHandler (IlvBitmapTransition &transition, IlvRGBBitmapData &image1, IlvRGBBitmapData &image2, IlvPort &dst) | |
| Constructor. | |
| virtual void | doTransition (IlvTransitionScheduler &scheduler, IlDouble previous, IlDouble current) |
| Called by the scheduler to do the transition. | |
| virtual void | startTransition (IlvTransitionScheduler &scheduler) |
| Called by the scheduler when starting the transition. | |
Transition Handler class.
Library: views
This class handles transitions between two IlvRGBBitmapData objects. The intermediate bitmaps are computed using the IlvBitmapTransition class.
IlvBitmapTransition | IlvBitmapTransitionHandler::IlvBitmapTransitionHandler | ( | IlvBitmapTransition & | transition, | |
| IlvRGBBitmapData & | image1, | |||
| IlvRGBBitmapData & | image2, | |||
| IlvPort & | dst | |||
| ) |
Constructor.
Initializes a new instance of the IlvBitmapTransitionHandler class.
| transition | The object that will compute the intermediate bitmaps. | |
| image1 | The source image. | |
| image2 | The destination image. | |
| dst | The port where will be copied the intermediate images. |
| virtual void IlvBitmapTransitionHandler::doTransition | ( | IlvTransitionScheduler & | scheduler, | |
| IlDouble | oldRate, | |||
| IlDouble | newRate | |||
| ) | [virtual] |
Called by the scheduler to do the transition.
Override this method to implement your own transition.
| scheduler | The scheduler that triggered the transition. | |
| oldRate | The old rate. Valid values are double values in the interval 0-100. | |
| newRate | The new rate. Valid values are double values in the interval 0-100. |
Implements IlvTransitionHandler.
| virtual void IlvBitmapTransitionHandler::startTransition | ( | IlvTransitionScheduler & | scheduler | ) | [virtual] |
Called by the scheduler when starting the transition.
The default implementation does nothing.
| scheduler | The scheduler that triggered the transition. |
Reimplemented from IlvTransitionHandler.
© Copyright 2012, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.