![]() | InDesign SDK 20.5 |
#include <IPanorama.h>
Public Member Functions | |
| PanoramaUpdateParams (IPanorama *panorama, const PMPoint &offset) | |
| PanoramaUpdateParams (IPanorama *panorama, const PMReal &xScaleFactor, const PMReal &yScaleFactor) | |
Public Attributes | |
| IPanorama * | fPanorama |
| PMPoint | fOffset |
| PMReal | fXScaleFactor |
| PMReal | fYScaleFactor |
Utility class used to notify observers how a panorama has scrolled. Panoramas notify interested observers when a change in perspective occurrs. In order to support live scrolling and hardware scrolling, observers need more information than just a pointer to the panorama. A pointer to the following structure is placed in the changedBy parameter of update when observers are notified of changes.
Currently there is a bug when InDesign broadcasts kScrollToMessage, the offset value is the negative of what it should be so current observers need to take this into account.
scroll constructor
| inline |
scale constructor
| PMPoint PanoramaUpdateParams::fOffset |
scroll offset
| IPanorama* PanoramaUpdateParams::fPanorama |
the panorama
| PMReal PanoramaUpdateParams::fXScaleFactor |
X scale factor
| PMReal PanoramaUpdateParams::fYScaleFactor |
Y scale factor