|
Krita Source Code Documentation
|
#include <KoZoomState.h>
Inheritance diagram for KoZoomState:Public Member Functions | |
| KoZoomState ()=default | |
| KoZoomState (KoZoomMode::Mode mode, qreal zoom, qreal minZoom, qreal maxZoom) | |
| bool | operator== (const KoZoomState &other) const |
Public Attributes | |
| qreal | maxZoom {90.0} |
| qreal | minZoom {0.1} |
| KoZoomMode::Mode | mode = KoZoomMode::ZOOM_CONSTANT |
| qreal | zoom {1.0} |
A simple structure to represent the zoom state.
Definition at line 17 of file KoZoomState.h.
|
default |
|
inline |
Definition at line 21 of file KoZoomState.h.
| bool KoZoomState::operator== | ( | const KoZoomState & | other | ) | const |
Definition at line 9 of file KoZoomState.cpp.
References maxZoom, minZoom, mode, qFuzzyCompare(), and zoom.
| qreal KoZoomState::maxZoom {90.0} |
Definition at line 27 of file KoZoomState.h.
| qreal KoZoomState::minZoom {0.1} |
Definition at line 26 of file KoZoomState.h.
| KoZoomMode::Mode KoZoomState::mode = KoZoomMode::ZOOM_CONSTANT |
Definition at line 24 of file KoZoomState.h.
| qreal KoZoomState::zoom {1.0} |
Definition at line 25 of file KoZoomState.h.