Engauge Digitizer 2
|
Perform calculations to determine the next zoom setting given the current zoom setting, when zooming in or out. More...
#include <ZoomTransition.h>
Public Member Functions | |
ZoomTransition () | |
Single constructor. | |
double | mapToFactor (ZoomFactor zoomFactor) const |
Return the floating precision zoom factor given the enum value. | |
ZoomFactor | zoomIn (ZoomFactor currentZoomFactor, double m11, double m22, bool actionZoomFillIsChecked) const |
Zoom in. | |
ZoomFactor | zoomOut (ZoomFactor currentZoomFactor, double m11, double m22, bool actionZoomFillIsChecked) const |
Zoom out. |
Perform calculations to determine the next zoom setting given the current zoom setting, when zooming in or out.
Definition at line 14 of file ZoomTransition.h.
ZoomTransition::ZoomTransition | ( | ) |
Single constructor.
Definition at line 16 of file ZoomTransition.cpp.
double ZoomTransition::mapToFactor | ( | ZoomFactor | zoomFactor | ) | const |
Return the floating precision zoom factor given the enum value.
Definition at line 45 of file ZoomTransition.cpp.
ZoomFactor ZoomTransition::zoomIn | ( | ZoomFactor | currentZoomFactor, |
double | m11, | ||
double | m22, | ||
bool | actionZoomFillIsChecked ) const |
Zoom in.
Definition at line 52 of file ZoomTransition.cpp.
ZoomFactor ZoomTransition::zoomOut | ( | ZoomFactor | currentZoomFactor, |
double | m11, | ||
double | m22, | ||
bool | actionZoomFillIsChecked ) const |
Zoom out.
Definition at line 87 of file ZoomTransition.cpp.