|
KiCad PCB EDA Suite
|
#include <view/zoom_controller.h>#include <trace_helpers.h>#include <wx/log.h>#include <algorithm>#include <cmath>Go to the source code of this file.
Classes | |
| class | SIMPLE_TIMESTAMPER |
| A very simple timestamper that uses the KIGFX::ACCELERATING_ZOOM_CONTROLLER::CLOCK to provide a timestamp. More... | |
Functions | |
| static double | notchCount (int aRotation, int aWheelDelta) |
Variables | |
| static constexpr double | MAX_MERGED_NOTCHES = 10.0 |
|
static |
Definition at line 43 of file zoom_controller.cpp.
References std::abs(), and MAX_MERGED_NOTCHES.
Referenced by KIGFX::ACCELERATING_ZOOM_CONTROLLER::GetScaleForRotation(), and KIGFX::CONSTANT_ZOOM_CONTROLLER::GetScaleForRotation().
|
staticconstexpr |
Definition at line 38 of file zoom_controller.cpp.
Referenced by notchCount().