15#ifndef INKSCAPE_UI_WIDGET_CANVAS_H
16#define INKSCAPE_UI_WIDGET_CANVAS_H
22#include <glibmm/refptr.h>
24#include <gtkmm/gesture.h>
25#include <sigc++/signal.h>
36class EventControllerKey;
37class EventControllerMotion;
38class EventControllerScroll;
50namespace Colors::CMS {
155 bool on_scroll(Gtk::EventControllerScroll
const &controller,
double dx,
double dy);
159 int n_press,
double x,
double y);
161 int n_press,
double x,
double y);
164 void on_motion(Gtk::EventControllerMotion
const &controller,
double x,
double y);
165 void on_enter (Gtk::EventControllerMotion
const &controller,
double x,
double y);
166 void on_leave (Gtk::EventControllerMotion
const &controller);
174 unsigned keyval,
unsigned keycode, Gdk::ModifierType state);
176 unsigned keyval,
unsigned keycode, Gdk::ModifierType state);
239 std::unique_ptr<CanvasPrivate>
d;
3x3 matrix representing an affine transformation.
Axis aligned, non-empty, generic rectangle.
Two-dimensional point with integer coordinates.
Two-dimensional point that doubles as a vector.
IntPoint round() const
Round to nearest integer coordinates.
Axis aligned, non-empty rectangle.
A mask representing a subset of EventTypes.
To do: update description of desktop.
double Coord
Floating point type used to store coordinates.
Axis-aligned rectangle with integer coordinates.
Control handle rendering/caching.
Various utility functions.
Helper class to stream background task notifications as a series of messages.
static T clip(T const &v, T const &a, T const &b)
TODO: insert short description here.