|
Scroom
0.14
|
#include "view.hh"#include <array>#include <sstream>#include <spdlog/spdlog.h>#include <boost/lexical_cast.hpp>#include <glib-object.h>#include <scroom/assertions.hh>#include <scroom/cairo-helpers.hh>#include <scroom/format_stuff.hh>#include <scroom/rounding.hh>#include "callbacks.hh"#include "pluginmanager.hh"
Classes | |
| class | TweakPresentationPosition |
| Tweakers. More... | |
| class | TweakRulers |
| class | ITweakSelection |
| class | TweakSelection |
| class | TweakGridSelection |
| class | TweakPixelSelection |
| class | TweakPositionTextBox |
Macros | |
| #define | G_VALUE_INIT |
Enumerations | |
| enum | { COLUMN_TEXT, COLUMN_ZOOM, N_COLUMNS } |
| enum | Corner { Corner::TOP_LEFT, Corner::TOP_RIGHT, Corner::BOTTOM_LEFT, Corner::BOTTOM_RIGHT } |
Functions | |
| std::function< Scroom::Utils::Point< double >Scroom::Utils::Rectangle< double >)> | corner_getter (Corner c) |
| Corner | find_closest_corner (Scroom::Utils::Point< double > p, Scroom::Utils::Rectangle< double > r) |
| Corner | find_opposed_corner (Corner c) |
| Scroom::Utils::Rectangle< double > | toRectangle (Selection s) |
| static Scroom::Utils::Point< double > | eventToPoint (GdkEventButton *event) |
| Helpers. More... | |
| static Scroom::Utils::Point< double > | eventToPoint (GdkEventMotion *event) |
| static void | on_newWindow_activate (GtkMenuItem *, gpointer user_data) |
| static void | tool_button_toggled (GtkToggleButton *button, gpointer data) |
Variables | |
| static const std::array< const char *, 36 > | zoomfactor |
| static const int | MaxZoom = 5 |
| #define G_VALUE_INIT |
|
strong |
| std::function<Scroom::Utils::Point<double>Scroom::Utils::Rectangle<double>)> corner_getter | ( | Corner | c | ) |
|
static |
Helpers.
Referenced by View::on_buttonPress(), View::on_buttonRelease(), and View::on_motion_notify().

|
static |
| Corner find_closest_corner | ( | Scroom::Utils::Point< double > | p, |
| Scroom::Utils::Rectangle< double > | r | ||
| ) |
Referenced by TweakSelection::tweakSelection().


|
static |
Referenced by View::updateNewWindowMenu().


|
static |
| Scroom::Utils::Rectangle<double> toRectangle | ( | Selection | s | ) |
Referenced by TweakSelection::tweakSelection().


|
static |
Referenced by View::on_scrollwheel(), and View::updateZoom().
|
static |
Referenced by View::updateZoom().