Rogue Wave Views Foundation Package API Reference Guide |
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. More... | |
virtual void | doTransition (IlvTransitionScheduler &scheduler, IlDouble previous, IlDouble current) |
Called by the scheduler to do the transition. More... | |
virtual void | startTransition (IlvTransitionScheduler &scheduler) |
Called by the scheduler when starting the transition. More... | |
Public Member Functions inherited from IlvTransitionHandler | |
virtual void | stopTransition (IlvTransitionScheduler &scheduler) |
Called by the scheduler when stopping the transition. More... | |
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 |
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 |
Called by the scheduler when starting the transition.
The default implementation does nothing.
scheduler | The scheduler that triggered the transition. |
Reimplemented from IlvTransitionHandler.
© Copyright 2017, 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.