OpenASIP
2.0
|
#include <CanvasConstants.hh>
Static Public Attributes | |
static const double | MIN_ZOOM_FACTOR = 0.2 |
Minimum zoom factor. More... | |
static const double | MAX_ZOOM_FACTOR = 3 |
Maximum zoom factor. More... | |
static const double | ZOOM_STEP = 0.1 |
Step between zoom levels. More... | |
static const double | AUTOZOOM_STEP = 0.01 |
More precise step for automatic canvas resizing. More... | |
Constants for machine canvas
Definition at line 40 of file CanvasConstants.hh.
|
static |
More precise step for automatic canvas resizing.
Definition at line 51 of file CanvasConstants.hh.
Referenced by FitHeightCmd::Do(), FitWindowCmd::Do(), and FitWidthCmd::Do().
|
static |
Maximum zoom factor.
Definition at line 47 of file CanvasConstants.hh.
Referenced by FitHeightCmd::Do(), FitWidthCmd::Do(), FitWindowCmd::Do(), and MachineCanvas::setZoomFactor().
|
static |
Minimum zoom factor.
Definition at line 45 of file CanvasConstants.hh.
Referenced by MachineCanvas::setZoomFactor().
|
static |
Step between zoom levels.
Definition at line 49 of file CanvasConstants.hh.
Referenced by MachineCanvas::onMouseEvent(), MachineCanvas::zoomIn(), and MachineCanvas::zoomOut().