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 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.
ZoomTransition()
Single constructor.
Perform calculations to determine the next zoom setting given the current zoom setting,...
ZoomFactor
Zoom factors ordered by zoom level so next one above/below is the next zoom level.
ZoomFactor zoomOut(ZoomFactor currentZoomFactor, double m11, double m22, bool actionZoomFillIsChecked) const
Zoom out.