7 #ifndef ZOOM_TRANSITION_H
8 #define ZOOM_TRANSITION_H
27 bool actionZoomFillIsChecked)
const;
33 bool actionZoomFillIsChecked)
const;
36 QMap<ZoomFactor, double> m_zoomMapToFactor;
39 #endif // ZOOM_TRANSITION_H
ZoomFactor zoomOut(ZoomFactor currentZoomFactor, double m11, double m22, bool actionZoomFillIsChecked) const
Zoom out.
double mapToFactor(ZoomFactor zoomFactor) const
Return the floating precision zoom factor given the enum value.
ZoomTransition()
Single constructor.
Perform calculations to determine the next zoom setting given the current zoom setting, when zooming in or out.
ZoomFactor
Zoom factors ordered by zoom level so next one above/below is the next zoom level.
ZoomFactor zoomIn(ZoomFactor currentZoomFactor, double m11, double m22, bool actionZoomFillIsChecked) const
Zoom in.