Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
SPDesktop Class Reference

To do: update description of desktop. More...

#include <desktop.h>

Classes

class  DesktopAffine
 

Public Types

enum  CanvasFlip { FLIP_NONE = 0 , FLIP_HORIZONTAL = 1 , FLIP_VERTICAL = 2 }
 

Public Member Functions

 SPDesktop (SPNamedView *nv)
 
 ~SPDesktop ()
 
 SPDesktop (SPDesktop const &)=delete
 
SPDesktopoperator= (SPDesktop const &)=delete
 
 SPDesktop (SPDesktop &&)=delete
 
SPDesktopoperator= (SPDesktop &&)=delete
 
SPDocumentdoc () const
 
Inkscape::MessageStackmessageStack () const
 
Inkscape::MessageContexttipsMessageContext () const
 
void setDesktopWidget (SPDesktopWidget *dtw)
 
Inkscape::UI::Tools::ToolBasegetTool () const
 
Inkscape::SelectiongetSelection () const
 
SPDocumentgetDocument () const
 
Inkscape::UI::Widget::CanvasgetCanvas () const
 
SPNamedViewgetNamedView () const
 
SPDesktopWidgetgetDesktopWidget () const
 
Inkscape::Display::SnapIndicatorgetSnapIndicator () const
 
int viewNumber () const
 
Inkscape::CanvasItemGroupgetCanvasControls () const
 
Inkscape::CanvasItemGroupgetCanvasPagesBg () const
 
Inkscape::CanvasItemGroupgetCanvasPagesFg () const
 
Inkscape::CanvasItemGroupgetCanvasGrids () const
 
Inkscape::CanvasItemGroupgetCanvasGuides () const
 
Inkscape::CanvasItemGroupgetCanvasSketch () const
 
Inkscape::CanvasItemGroupgetCanvasTemp () const
 
Inkscape::CanvasItemCatchallgetCanvasCatchall () const
 
Inkscape::CanvasItemDrawinggetCanvasDrawing () const
 
template<typename F >
sigc::connection connectDestroy (F &&slot)
 
template<typename F >
sigc::connection connectDocumentReplaced (F &&slot)
 
template<typename F >
sigc::connection connectEventContextChanged (F &&slot)
 
template<typename F >
sigc::connection connectSetStyle (F &&slot)
 
template<typename F >
sigc::connection connectQueryStyle (F &&slot)
 
sigc::connection connect_gradient_stop_selected (sigc::slot< void(SPStop *)> const &slot)
 
sigc::connection connect_control_point_selected (sigc::slot< void(Inkscape::UI::ControlPointSelection *)> const &slot)
 
sigc::connection connect_text_cursor_moved (sigc::slot< void(Inkscape::UI::Tools::TextTool *)> const &slot)
 
void emit_gradient_stop_selected (SPStop *stop)
 
void emit_control_point_selected (Inkscape::UI::ControlPointSelection *selection)
 
void emit_text_cursor_moved (Inkscape::UI::Tools::TextTool *tool)
 
Inkscape::LayerManagerlayerManager ()
 
Inkscape::LayerManager const & layerManager () const
 
Inkscape::MessageContextguidesMessageContext () const
 
Inkscape::Display::TemporaryItemadd_temporary_canvasitem (Inkscape::CanvasItem *item, int lifetime_msecs, bool move_to_bottom=true)
 One should not keep a reference to the SPCanvasItem, the temporary item code will delete the object for you and the reference will become invalid without you knowing it.
 
void remove_temporary_canvasitem (Inkscape::Display::TemporaryItem *tempitem)
 It is perfectly safe to call this function while the object has already been deleted due to a timeout.
 
Inkscape::Display::TranslucencyGroupgetTranslucencyGroup () const
 
Inkscape::UI::Dialog::DialogContainergetContainer ()
 
bool isWithinViewport (SPItem const *item) const
 True if desktop viewport intersects item's bbox.
 
bool itemIsHidden (SPItem const *item) const
 
void activate_guides (bool activate)
 Set activate status of current desktop's named view.
 
void change_document (SPDocument *document)
 Make desktop switch documents.
 
void setTool (std::string const &toolName)
 Replaces the currently active tool with a new one.
 
void set_coordinate_status (Geom::Point const &p)
 Sets the coordinate status to a given point.
 
SPItemgetItemFromListAtPointBottom (std::vector< SPItem * > const &list, Geom::Point const &p) const
 
SPItemgetItemAtPoint (Geom::Point const &p, bool into_groups, SPItem *upto=nullptr) const
 
std::vector< SPItem * > getItemsAtPoints (std::vector< Geom::Point > ps, bool all_layers=true, bool topmost_only=true, size_t limit=0, bool active_only=true) const
 
SPItemgetGroupAtPoint (Geom::Point const &p) const
 
Geom::Point point () const
 Returns the mouse point in desktop coordinates; if mouse is outside the canvas, returns the center of canvas viewpoint.
 
void prev_transform ()
 Revert back to previous transform if possible.
 
void next_transform ()
 Set transform to next in list.
 
void clear_transform_history ()
 Clear transform lists.
 
void set_display_area (bool log=true)
 Does all the dirty work in setting the display area.
 
void set_display_area (Geom::Point const &c, Geom::Point const &w, bool log=true)
 Map the drawing to the window so that 'c' lies at 'w' where where 'c' is a point on the canvas and 'w' is position in window in screen pixels.
 
void set_display_area (Geom::Rect const &a, Geom::Coord border, bool log=true)
 Map the center of rectangle 'r' (which specifies a non-rotated region of the drawing) to lie at the center of the window.
 
Geom::Parallelogram get_display_area () const
 Return canvas viewbox in desktop coordinates.
 
void set_display_width (Geom::Rect const &a, Geom::Coord border)
 Set display area in only the width dimension.
 
void set_display_center (Geom::Rect const &a)
 Centre Rect, without zooming.
 
void zoom_absolute (Geom::Point const &c, double zoom, bool keep_point=true)
 Zoom to the given absolute zoom level.
 
void zoom_relative (Geom::Point const &c, double zoom, bool keep_point=true)
 Zoom in or out relatively to the current zoom.
 
void zoom_realworld (Geom::Point const &c, double ratio)
 Zoom in to an absolute realworld ratio, e.g.
 
void zoom_drawing ()
 Zoom to whole drawing.
 
void zoom_selection ()
 Zoom to selection.
 
void schedule_zoom_from_document ()
 Schedule the zoom/view settings from the document to be applied to the desktop just after the canvas is first allocated a size, but before any drawing has started.
 
double current_zoom () const
 
Geom::Point current_center () const
 
void zoom_quick (bool enable=true)
 Performs a quick zoom into what the user is working on.
 
bool quick_zoomed () const
 Returns whether the desktop is in quick zoom mode or not.
 
void quick_preview (bool activate)
 
void set_rotation_lock (bool lock)
 
bool get_rotation_lock () const
 
void zoom_grab_focus ()
 Tell widget to let zoom widget grab keyboard focus.
 
void rotate_grab_focus ()
 Tell widget to let rotate widget grab keyboard focus.
 
void rotate_absolute_keep_point (Geom::Point const &c, double rotate)
 Set new rotation, keeping the point 'c' fixed in the desktop window.
 
void rotate_relative_keep_point (Geom::Point const &c, double rotate)
 Rotate keeping the point 'c' fixed in the desktop window.
 
void rotate_absolute_center_point (Geom::Point const &c, double rotate)
 Set new rotation, aligning the point 'c' to the center of desktop window.
 
void rotate_relative_center_point (Geom::Point const &c, double rotate)
 Rotate aligning the point 'c' to the center of desktop window.
 
void flip_absolute_keep_point (Geom::Point const &c, CanvasFlip flip)
 Set new flip direction, keeping the point 'c' fixed in the desktop window.
 
void flip_relative_keep_point (Geom::Point const &c, CanvasFlip flip)
 Flip direction, keeping the point 'c' fixed in the desktop window.
 
void flip_absolute_center_point (Geom::Point const &c, CanvasFlip flip)
 Set new flip direction, aligning the point 'c' to the center of desktop window.
 
void flip_relative_center_point (Geom::Point const &c, CanvasFlip flip)
 Flip direction, aligning the point 'c' to the center of desktop window.
 
bool is_flipped (CanvasFlip flip)
 
Geom::Rotate const & current_rotation () const
 
void scroll_absolute (Geom::Point const &point)
 Scroll canvas by to a particular point (window coordinates).
 
void scroll_relative (Geom::Point const &delta)
 Scroll canvas by specific coordinate amount (window coordinates).
 
void scroll_relative_in_svg_coords (double dx, double dy)
 Scroll canvas by specific coordinate amount in svg coordinates.
 
bool scroll_to_point (Geom::Point const &s_dt, double autoscrollspeed=0)
 Scroll screen so as to keep point 'p' visible in window.
 
Geom::IntPoint getWindowSize () const
 
void setWindowSize (Geom::IntPoint const &size)
 
void setWindowTransient (Gtk::Window &window, int transient_policy=1)
 
InkscapeWindow const * getInkscapeWindow () const
 
InkscapeWindowgetInkscapeWindow ()
 
void presentWindow ()
 
void showInfoDialog (Glib::ustring const &message)
 
bool warnDialog (Glib::ustring const &text)
 
void setRenderMode (Inkscape::RenderMode mode)
 
void setColorMode (Inkscape::ColorMode mode)
 
void toggleCommandPalette ()
 
void toggleRulers ()
 
void toggleScrollbars ()
 
void setTempHideOverlays (bool hide)
 Shows or hides the on-canvas overlays and controls, such as grids, guides, manipulation handles, knots, selection cues, etc.
 
void layoutWidget ()
 
void setToolboxFocusTo (char const *label)
 
Gtk::Widget * get_toolbar_by_name (Glib::ustring const &name)
 
void setToolboxAdjustmentValue (char const *id, double val)
 
bool isToolboxButtonActive (char const *id) const
 
void updateDialogs ()
 
void showNotice (Glib::ustring const &msg, int timeout=0)
 
void setWaitingCursor ()
 
void clearWaitingCursor ()
 
bool isWaitingCursor () const
 
void toggleLockGuides ()
 
void toggleToolbar (char const *toolbar_name)
 
bool isMinimised () const
 
bool is_darktheme () const
 
bool is_maximized () const
 
bool is_fullscreen () const
 
bool is_focusMode () const
 Checks to see if the user is working in focused mode.
 
void focusMode (bool mode=true)
 Changes whether the user is in focus mode or not.
 
Geom::Affine const & w2d () const
 Transformation from window to desktop coordinates (zoom/rotate).
 
Geom::Point w2d (Geom::Point const &p) const
 
Geom::Affine const & d2w () const
 Transformation from desktop to window coordinates.
 
Geom::Point d2w (Geom::Point const &p) const
 
Geom::Affine const & doc2dt () const
 
Geom::Affine const & dt2doc () const
 
Geom::Point doc2dt (Geom::Point const &p) const
 
Geom::Point dt2doc (Geom::Point const &p) const
 
double yaxisdir () const
 
bool is_yaxisdown () const
 
void setDocument (SPDocument *doc)
 Associate document with desktop.
 
void onWindowStateChanged (Gdk::Toplevel::State changed, Gdk::Toplevel::State new_toplevel_state)
 onWindowStateChanged
 
void applyCurrentOrToolStyle (SPObject *obj, Glib::ustring const &tool_path, bool with_text)
 Apply the desktop's current style or the tool style to the object.
 

Public Attributes

SPCSSAttrcurrent = nullptr
 Current style.
 
bool _focusMode = false
 Whether we're focused working or general working.
 
unsigned dkey = 0
 
unsigned interaction_disabled_counter = 0
 
bool waiting_cursor = false
 
bool showing_dialogs = false
 
bool rotation_locked = false
 
bool guides_active = false
 
SPItemgr_item = nullptr
 
GrPointType gr_point_type = POINT_LG_BEGIN
 
unsigned gr_point_i = 0
 
Inkscape::PaintTarget gr_fill_or_stroke = Inkscape::FOR_FILL
 
Glib::ustring _reconstruction_old_layer_id
 
sigc::signal< bool(SPCSSAttr const *, bool)>::accumulated< StopOnTrue_set_style_signal
 
sigc::signal< int(SPStyle *, int)>::accumulated< StopOnNonZero_query_style_signal
 
sigc::signal< void(double)> signal_zoom_changed
 Emitted when the zoom factor changes (not emitted when scrolling).
 

Private Member Functions

void _setupCanvasItems ()
 
void _attachDocument ()
 
void _detachDocument ()
 
bool drawing_handler (Inkscape::CanvasEvent const &event, Inkscape::DrawingItem *item)
 Calls event handler of current event context.
 
void reconstruction_start ()
 Called when document is starting to be rebuilt.
 
void reconstruction_finish ()
 Called when document rebuild is finished.
 
void handle_y_axis_flip (double yshift)
 
void on_zoom_begin (Gdk::EventSequence *sequence)
 
void on_zoom_scale (double scale)
 
void on_zoom_end (Gdk::EventSequence *sequence)
 
void onStatusMessage (Inkscape::MessageType type, char const *message)
 

Private Attributes

SPDocumentdocument = nullptr
 
std::unique_ptr< Inkscape::MessageStack_message_stack
 
std::unique_ptr< Inkscape::MessageContext_tips_message_context
 
std::unique_ptr< Inkscape::MessageContext_guides_message_context
 
sigc::scoped_connection _message_changed_connection
 
sigc::scoped_connection _message_idle_connection
 
sigc::connection _document_uri_set_connection
 
sigc::connection _saved_or_modified_conn
 
std::unique_ptr< Inkscape::UI::Tools::ToolBase_tool
 
std::unique_ptr< Inkscape::Display::TemporaryItemList_temporary_item_list
 
std::unique_ptr< Inkscape::Display::TranslucencyGroup_translucency_group
 
std::unique_ptr< Inkscape::Display::SnapIndicator_snapindicator
 
SPNamedViewnamedview = nullptr
 
int _view_number {}
 
std::unique_ptr< Inkscape::UI::Widget::Canvascanvas
 
std::unique_ptr< Inkscape::Selection_selection
 current selection; will never generally be NULL
 
Inkscape::CanvasItemGroup_canvas_group_controls = nullptr
 Handles, knots, nodes, etc.
 
Inkscape::CanvasItemGroup_canvas_group_drawing = nullptr
 SVG Drawing.
 
Inkscape::CanvasItemGroup_canvas_group_grids = nullptr
 Grids.
 
Inkscape::CanvasItemGroup_canvas_group_guides = nullptr
 Guide lines.
 
Inkscape::CanvasItemGroup_canvas_group_sketch = nullptr
 Temporary items before becoming permanent.
 
Inkscape::CanvasItemGroup_canvas_group_temp = nullptr
 Temporary items that self-destruct.
 
Inkscape::CanvasItemGroup_canvas_group_pages_bg = nullptr
 Page background.
 
Inkscape::CanvasItemGroup_canvas_group_pages_fg = nullptr
 Page border + shadow.
 
Inkscape::CanvasItemCatchall_canvas_catchall = nullptr
 The bottom item for unclaimed events.
 
Inkscape::CanvasItemDrawing_canvas_drawing = nullptr
 The actual SVG drawing (a.k.a. arena).
 
SPDesktopWidget_widget = nullptr
 
DesktopAffine _current_affine
 
std::list< DesktopAffinetransforms_past
 
std::list< DesktopAffinetransforms_future
 
bool _quick_zoom_enabled = false
 Signifies that currently we're in quick zoom mode.
 
DesktopAffine _quick_zoom_affine
 The transform of the screen before quick zoom.
 
bool _overlays_visible = true
 Whether the overlays are temporarily hidden.
 
bool _saved_guides_visible = false
 Remembers guides' visibility when hiding overlays.
 
std::unique_ptr< Inkscape::LayerManager_layer_manager
 
sigc::signal< void(SPDesktop *)> _destroy_signal
 
sigc::signal< void(SPDesktop *, SPDocument *)> _document_replaced_signal
 
sigc::signal< void(SPDesktop *, Inkscape::UI::Tools::ToolBase *)> _event_context_changed_signal
 
sigc::signal< void(SPStop *)> _gradient_stop_selected
 
sigc::signal< void(Inkscape::UI::ControlPointSelection *)> _control_point_selected
 
sigc::signal< void(Inkscape::UI::Tools::TextTool *)> _text_cursor_moved
 
sigc::scoped_connection _reconstruction_start_connection
 
sigc::scoped_connection _reconstruction_finish_connection
 
sigc::scoped_connection _schedule_zoom_from_document_connection
 
sigc::scoped_connection _y_axis_flipped
 
std::optional< double > _begin_zoom
 

Detailed Description

To do: update description of desktop.

Define separation of desktop-widget, desktop, window, canvas, etc.

Definition at line 148 of file desktop.h.

Member Enumeration Documentation

◆ CanvasFlip

Enumerator
FLIP_NONE 
FLIP_HORIZONTAL 
FLIP_VERTICAL 

Definition at line 355 of file desktop.h.

Constructor & Destructor Documentation

◆ SPDesktop() [1/3]

◆ ~SPDesktop()

◆ SPDesktop() [2/3]

SPDesktop::SPDesktop ( SPDesktop const &  )
delete

◆ SPDesktop() [3/3]

SPDesktop::SPDesktop ( SPDesktop &&  )
delete

Member Function Documentation

◆ _attachDocument()

◆ _detachDocument()

◆ _setupCanvasItems()

◆ activate_guides()

void SPDesktop::activate_guides ( bool  activate)

Set activate status of current desktop's named view.

Definition at line 272 of file desktop.cpp.

References activate(), SPNamedView::activateGuides(), guides_active, and namedview.

Referenced by _attachDocument().

◆ add_temporary_canvasitem()

Inkscape::Display::TemporaryItem * SPDesktop::add_temporary_canvasitem ( Inkscape::CanvasItem item,
int  lifetime_msecs,
bool  move_to_bottom = true 
)

One should not keep a reference to the SPCanvasItem, the temporary item code will delete the object for you and the reference will become invalid without you knowing it.

It is perfectly safe to ignore the returned pointer: the object is deleted by itself, so don't delete it elsewhere! The only valid use of the returned TemporaryItem* is as argument for SPDesktop::remove_temporary_canvasitem, because the object might be deleted already without you knowing it. move_to_bottom = true by default so the item does not interfere with handling of other items on the canvas like nodes.

Definition at line 229 of file desktop.cpp.

References _temporary_item_list, and item.

Referenced by Inkscape::ObjectSet::cloneOriginal(), Inkscape::Display::SnapIndicator::make_alignment_indicator(), Inkscape::Display::SnapIndicator::make_distribution_indicators(), Inkscape::LivePathEffect::Parameter::param_higlight(), Inkscape::UI::Tools::NodeTool::root_handler(), Inkscape::Display::SnapIndicator::set_new_debugging_point(), Inkscape::Display::SnapIndicator::set_new_snapsource(), Inkscape::Display::SnapIndicator::set_new_snaptarget(), and Inkscape::UI::Tools::sp_update_helperpath().

◆ applyCurrentOrToolStyle()

void SPDesktop::applyCurrentOrToolStyle ( SPObject obj,
Glib::ustring const &  tool_path,
bool  with_text 
)

◆ change_document()

void SPDesktop::change_document ( SPDocument document)

◆ clear_transform_history()

void SPDesktop::clear_transform_history ( )

Clear transform lists.

Definition at line 437 of file desktop.cpp.

References transforms_future, and transforms_past.

Referenced by sp_namedview_window_from_document().

◆ clearWaitingCursor()

◆ connect_control_point_selected()

sigc::connection SPDesktop::connect_control_point_selected ( sigc::slot< void(Inkscape::UI::ControlPointSelection *)> const &  slot)

Definition at line 1353 of file desktop.cpp.

References _control_point_selected.

Referenced by Inkscape::UI::Toolbar::NodeToolbar::setDesktop().

◆ connect_gradient_stop_selected()

sigc::connection SPDesktop::connect_gradient_stop_selected ( sigc::slot< void(SPStop *)> const &  slot)

◆ connect_text_cursor_moved()

sigc::connection SPDesktop::connect_text_cursor_moved ( sigc::slot< void(Inkscape::UI::Tools::TextTool *)> const &  slot)

◆ connectDestroy()

template<typename F >
sigc::connection SPDesktop::connectDestroy ( F &&  slot)
inline

◆ connectDocumentReplaced()

◆ connectEventContextChanged()

template<typename F >
sigc::connection SPDesktop::connectEventContextChanged ( F &&  slot)
inline

◆ connectQueryStyle()

template<typename F >
sigc::connection SPDesktop::connectQueryStyle ( F &&  slot)
inline

Definition at line 269 of file desktop.h.

References _query_style_signal.

Referenced by GrDrag::GrDrag(), and Inkscape::UI::Tools::TextTool::TextTool().

◆ connectSetStyle()

template<typename F >
sigc::connection SPDesktop::connectSetStyle ( F &&  slot)
inline

◆ current_center()

◆ current_rotation()

◆ current_zoom()

double SPDesktop::current_zoom ( ) const
inline

Definition at line 335 of file desktop.h.

References _current_affine, and SPDesktop::DesktopAffine::getZoom().

Referenced by Inkscape::UI::Tools::PencilTool::_addFreehandPoint(), Inkscape::UI::Tools::EraserTool::_brush(), Inkscape::UI::PathManipulator::_getStrokeTolerance(), Inkscape::UI::Tools::ToolBase::_keyboardMove(), Inkscape::UI::ControlPointSelection::_keyboardMove(), Inkscape::UI::ControlPointSelection::_keyboardRotate(), Inkscape::UI::ControlPointSelection::_keyboardScale(), Inkscape::UI::Tools::PenTool::_lastpointMoveScreen(), Inkscape::UI::TransformHandleSet::_updateVisibility(), Inkscape::UI::Tools::GradientTool::add_stop_near_point(), Inkscape::UI::Tools::CalligraphicTool::brush(), Inkscape::UI::Tools::do_trace(), InkscapeApplication::document_revert(), GrDrag::dropColor(), Inkscape::UI::Tools::get_dilate_radius(), Inkscape::UI::Tools::get_dilate_radius(), Inkscape::UI::Tools::get_path_force(), Inkscape::AlignmentSnapper::getSnapperTolerance(), Inkscape::DistributionSnapper::getSnapperTolerance(), Inkscape::GridSnapper::getSnapperTolerance(), Inkscape::GuideSnapper::getSnapperTolerance(), Inkscape::ObjectSnapper::getSnapperTolerance(), gr_knot_moved_handler(), Inkscape::Display::SnapIndicator::make_alignment_indicator(), Inkscape::Display::SnapIndicator::make_distribution_indicators(), Inkscape::Display::SnapIndicator::make_stub_line_h(), Inkscape::Display::SnapIndicator::make_stub_line_v(), Inkscape::ObjectSet::moveScreen(), on_zoom_begin(), Inkscape::UI::Tools::PencilTool::powerStrokeInterpolate(), Inkscape::UI::PathManipulator::rotateHandle(), Inkscape::UI::PathManipulator::scaleHandle(), GrDrag::selected_move_screen(), Inkscape::UI::Tools::MeasureTool::setLabelText(), Inkscape::UI::Tools::MeasureTool::setMeasureItem(), Inkscape::UI::Tools::MeasureTool::setPoint(), Inkscape::UI::Tools::ObjectPickerTool::show_text(), Inkscape::UI::Tools::MeasureTool::showInfoBox(), Inkscape::UI::Widget::Canvas::size_allocate_vfunc(), sp_namedview_document_from_window(), sp_selected_path_inset_screen(), sp_selected_path_offset_screen(), sp_te_adjust_kerning_screen(), sp_te_adjust_linespacing_screen(), sp_te_adjust_rotation_screen(), sp_te_adjust_tspan_letterspacing_screen(), Inkscape::UI::Tools::sp_tweak_dilate_recursive(), Inkscape::UI::Tools::sp_update_helperpath(), Inkscape::UI::Tools::spdc_create_single_dot(), Inkscape::UI::Tools::MeshTool::split_near_point(), transform_grow_screen(), transform_rotate_screen(), and Inkscape::UI::Widget::StatusBar::update_zoom().

◆ d2w() [1/2]

◆ d2w() [2/2]

Geom::Point SPDesktop::d2w ( Geom::Point const &  p) const
inline

Definition at line 420 of file desktop.h.

References _current_affine, and SPDesktop::DesktopAffine::d2w().

◆ doc()

SPDocument * SPDesktop::doc ( ) const
inline

Definition at line 159 of file desktop.h.

References document.

Referenced by Inkscape::UI::Widget::CanvasGrid::_createGuide(), Inkscape::UI::Widget::TabsWidget::_setTooltip(), Inkscape::UI::Dialog::LayerPropertiesDialog::_setup_layers_controls(), Inkscape::UI::Tools::TextTool::_setupText(), SPDesktopWidget::_updateTitle(), Inkscape::UI::Dialog::ColorItem::action_edit(), Inkscape::UI::Tools::PencilTool::addPowerStrokePencil(), Inkscape::UI::Tools::do_trace(), Inkscape::UI::Tools::SpiralTool::drag(), Inkscape::UI::Tools::ArcTool::drag(), Inkscape::UI::Tools::RectTool::drag(), Inkscape::UI::Tools::StarTool::drag(), Inkscape::UI::Widget::FillNStroke::dragFromPaint(), Inkscape::Extension::Internal::BlurEdge::effect(), Inkscape::Extension::Internal::Filter::Filter::effect(), Inkscape::Extension::Internal::Grid::effect(), Inkscape::Extension::Internal::Grid::effect(), Inkscape::Extension::Implementation::Script::execute(), Inkscape::Extension::ExecutionEnv::ExecutionEnv(), getGroupAtPoint(), getItemAtPoint(), getItemFromListAtPointBottom(), getItemsAtPoints(), Inkscape::UI::Tools::InteractiveBooleansTool::InteractiveBooleansTool(), Inkscape::LayerManager::LayerManager(), Inkscape::Display::SnapIndicator::make_alignment_indicator(), Inkscape::Display::SnapIndicator::make_distribution_indicators(), GrDrag::makeStopSafeColor(), SPDesktopWidget::onFocus(), Inkscape::UI::Widget::Canvas::paint_widget(), Inkscape::UI::Widget::FillNStroke::performUpdate(), Inkscape::Extension::Implementation::Implementation::prefs_effect(), Inkscape::Extension::Internal::Bitmap::ImageMagick::prefs_effect(), Inkscape::Extension::Internal::Grid::prefs_effect(), Inkscape::UI::Tools::Box3dTool::selection_changed(), setDocument(), Inkscape::UI::Widget::FillNStroke::setFillrule(), Inkscape::UI::Tools::MeasureTool::setLabelText(), sp_gradient_unset_swatch(), sp_import_document(), sp_namedview_update_layers_from_document(), sp_selected_path_create_offset_object(), sp_selected_path_do_offset(), Inkscape::UI::Tools::spdc_create_single_dot(), Inkscape::UI::Tools::spdc_paste_curve_as_freehand_shape(), Inkscape::UI::Tools::InteractiveBooleansTool::switching_away(), text_put_on_path(), Inkscape::UI::Tools::MeasureTool::toItem(), Inkscape::ObjectSet::toNextLayer(), Inkscape::ObjectSet::toPrevLayer(), SPSymbol::unSymbol(), Inkscape::UI::Widget::FillNStroke::updateFromPaint(), Inkscape::UI::Widget::CanvasGrid::updateScrollbars(), zoom_drawing(), and Inkscape::UI::Tools::InteractiveBooleansTool::~InteractiveBooleansTool().

◆ doc2dt() [1/2]

◆ doc2dt() [2/2]

Geom::Point SPDesktop::doc2dt ( Geom::Point const &  p) const
inline

Definition at line 423 of file desktop.h.

References doc2dt().

Referenced by doc2dt().

◆ drawing_handler()

bool SPDesktop::drawing_handler ( Inkscape::CanvasEvent const &  event,
Inkscape::DrawingItem item 
)
private

Calls event handler of current event context.

Definition at line 1283 of file desktop.cpp.

References Inkscape::UI::Tools::get_latin_keyval(), Inkscape::DrawingItem::getItem(), getTool(), Inkscape::KEY_PRESS, and Inkscape::CanvasEvent::type().

Referenced by _setupCanvasItems().

◆ dt2doc() [1/2]

◆ dt2doc() [2/2]

Geom::Point SPDesktop::dt2doc ( Geom::Point const &  p) const
inline

Definition at line 424 of file desktop.h.

References dt2doc().

Referenced by dt2doc().

◆ emit_control_point_selected()

void SPDesktop::emit_control_point_selected ( Inkscape::UI::ControlPointSelection selection)

Definition at line 1365 of file desktop.cpp.

References _control_point_selected.

Referenced by Inkscape::UI::Tools::NodeTool::NodeTool().

◆ emit_gradient_stop_selected()

void SPDesktop::emit_gradient_stop_selected ( SPStop stop)

◆ emit_text_cursor_moved()

◆ flip_absolute_center_point()

void SPDesktop::flip_absolute_center_point ( Geom::Point const &  c,
CanvasFlip  flip 
)

Set new flip direction, aligning the point 'c' to the center of desktop window.

Parameters
cPoint in desktop coordinates
flipDirection the canvas will be set as.

Definition at line 823 of file desktop.cpp.

References _current_affine, c, canvas, Geom::GenericRect< C >::midpoint(), set_display_area(), and SPDesktop::DesktopAffine::setFlip().

Referenced by canvas_transform().

◆ flip_absolute_keep_point()

void SPDesktop::flip_absolute_keep_point ( Geom::Point const &  c,
CanvasFlip  flip 
)

Set new flip direction, keeping the point 'c' fixed in the desktop window.

Parameters
cPoint in desktop coordinates
flipDirection the canvas will be set as.

Definition at line 795 of file desktop.cpp.

References _current_affine, c, d2w(), set_display_area(), SPDesktop::DesktopAffine::setFlip(), and w.

◆ flip_relative_center_point()

void SPDesktop::flip_relative_center_point ( Geom::Point const &  c,
CanvasFlip  flip 
)

Flip direction, aligning the point 'c' to the center of desktop window.

Parameters
cPoint in desktop coordinates
flipDirection to flip canvas

Definition at line 837 of file desktop.cpp.

References _current_affine, SPDesktop::DesktopAffine::addFlip(), c, canvas, Geom::GenericRect< C >::midpoint(), and set_display_area().

Referenced by canvas_transform().

◆ flip_relative_keep_point()

void SPDesktop::flip_relative_keep_point ( Geom::Point const &  c,
CanvasFlip  flip 
)

Flip direction, keeping the point 'c' fixed in the desktop window.

Parameters
cPoint in desktop coordinates
flipDirection to flip canvas

Definition at line 809 of file desktop.cpp.

References _current_affine, SPDesktop::DesktopAffine::addFlip(), c, d2w(), set_display_area(), and w.

◆ focusMode()

void SPDesktop::focusMode ( bool  mode = true)

Changes whether the user is in focus mode or not.

Parameters
modeWhich mode the view should be in.

Definition at line 949 of file desktop.cpp.

References _focusMode, layoutWidget(), and mode.

Referenced by view_focus_toggle(), and view_full_screen_focus().

◆ get_display_area()

◆ get_rotation_lock()

bool SPDesktop::get_rotation_lock ( ) const
inline

Definition at line 345 of file desktop.h.

References rotation_locked.

◆ get_toolbar_by_name()

Gtk::Widget * SPDesktop::get_toolbar_by_name ( Glib::ustring const &  name)

◆ getCanvas()

Inkscape::UI::Widget::Canvas * SPDesktop::getCanvas ( ) const
inline

Definition at line 190 of file desktop.h.

References canvas.

Referenced by Inkscape::UI::Widget::TabsWidget::_setTooltip(), SPDesktopWidget::_updateTitle(), SPNamedView::activateGuides(), SPDesktopWidget::addDesktop(), apply_preferences_canvas_mode(), Inkscape::BooleanBuilder::BooleanBuilder(), canvas_color_manage_toggle(), canvas_split_mode(), canvas_transform(), Inkscape::UI::Tools::ConnectorTool::ConnectorTool(), Inkscape::Extension::ExecutionEnv::createWorkingDialog(), Inkscape::UI::Dialog::DialogBase::defocus_dialog(), SPKnot::handler_request_position(), SPNamedView::hide(), SPNamedView::modified(), Inkscape::UI::Toolbar::DropperToolbar::on_pick_alpha_button_toggled(), Inkscape::UI::Toolbar::DropperToolbar::on_set_alpha_button_toggled(), Inkscape::UI::Dialog::ObjectsPanel::on_tree_key_pressed(), Inkscape::UI::Toolbar::Toolbar::onDefocus(), Inkscape::UI::Widget::SelectedStyle::onDefocus(), Inkscape::UI::Tools::PagesTool::PagesTool(), redo(), SPDesktopWidget::removeDesktop(), Inkscape::UI::Tools::ToolBase::root_handler(), Inkscape::UI::Tools::DropperTool::root_handler(), Inkscape::UI::Widget::ruler_snap_new_guide(), SPNamedView::set_clip_to_page(), SPNamedView::set_desk_color(), SPNamedView::show(), Inkscape::UI::Tools::sp_flood_do_flood_fill(), SPDesktopWidget::switchDesktop(), Inkscape::UI::Tools::TextTool::TextTool(), Inkscape::UI::Tools::ToolBase::ToolBase(), undo(), Inkscape::UI::Tools::ToolBase::use_cursor(), Inkscape::UI::Tools::ToolBase::use_tool_cursor(), and Inkscape::UI::Tools::ConnectorTool::~ConnectorTool().

◆ getCanvasCatchall()

Inkscape::CanvasItemCatchall * SPDesktop::getCanvasCatchall ( ) const
inline

Definition at line 203 of file desktop.h.

References _canvas_catchall.

◆ getCanvasControls()

◆ getCanvasDrawing()

◆ getCanvasGrids()

Inkscape::CanvasItemGroup * SPDesktop::getCanvasGrids ( ) const
inline

Definition at line 199 of file desktop.h.

References _canvas_group_grids.

Referenced by SPGrid::getAssociatedView(), SPGrid::hide(), and SPGrid::show().

◆ getCanvasGuides()

Inkscape::CanvasItemGroup * SPDesktop::getCanvasGuides ( ) const
inline

◆ getCanvasPagesBg()

Inkscape::CanvasItemGroup * SPDesktop::getCanvasPagesBg ( ) const
inline

Definition at line 197 of file desktop.h.

References _canvas_group_pages_bg.

Referenced by SPNamedView::show().

◆ getCanvasPagesFg()

Inkscape::CanvasItemGroup * SPDesktop::getCanvasPagesFg ( ) const
inline

Definition at line 198 of file desktop.h.

References _canvas_group_pages_fg.

Referenced by SPNamedView::show().

◆ getCanvasSketch()

◆ getCanvasTemp()

◆ getContainer()

◆ getDesktopWidget()

SPDesktopWidget * SPDesktop::getDesktopWidget ( ) const
inline

◆ getDocument()

SPDocument * SPDesktop::getDocument ( ) const
inline

Definition at line 189 of file desktop.h.

References document.

Referenced by Inkscape::UI::Tools::PencilTool::_addFreehandPoint(), Inkscape::UI::Widget::ObjectCompositeSettings::_blendBlurValueChanged(), Inkscape::UI::MultiPathManipulator::_commit(), Inkscape::UI::PathManipulator::_commit(), Inkscape::UI::PathManipulator::_commit(), Inkscape::UI::Widget::CanvasGrid::_createGuide(), Inkscape::UI::Toolbar::TextToolbar::_cursorMoved(), Inkscape::UI::Dialog::LayerPropertiesDialog::_doCreate(), Inkscape::UI::Dialog::LayerPropertiesDialog::_doMove(), Inkscape::UI::MultiPathManipulator::_done(), Inkscape::UI::Dialog::LayerPropertiesDialog::_doRename(), Inkscape::UI::Widget::LayerSelector::_hideLayer(), Inkscape::UI::Tools::TextTool::_insertUnichar(), Inkscape::UI::Widget::ObjectCompositeSettings::_isolationValueChanged(), Inkscape::UI::Widget::LayerSelector::_lockLayer(), Inkscape::UI::Widget::SelectedStyle::_on_paste_callback(), Inkscape::UI::Widget::ObjectCompositeSettings::_opacityValueChanged(), Inkscape::UI::Toolbar::TextToolbar::_selectionChanged(), Inkscape::UI::Toolbar::StarToolbar::_setDefaults(), Inkscape::UI::Dialog::LayerPropertiesDialog::_setup_position_controls(), Inkscape::UI::Tools::TextTool::_setupText(), Inkscape::UI::Toolbar::ArcToolbar::_startendValueChanged(), Inkscape::UI::Tools::TextTool::_styleSet(), Inkscape::UI::Widget::ObjectCompositeSettings::_subjectChanged(), Inkscape::UI::Toolbar::ArcToolbar::_typeChanged(), Inkscape::UI::Toolbar::RectToolbar::_valueChanged(), Inkscape::UI::Toolbar::SpiralToolbar::_valueChanged(), Inkscape::UI::Toolbar::ArcToolbar::_valueChanged(), Inkscape::UI::Dialog::ColorItem::action_convert(), Inkscape::UI::Tools::GradientTool::add_stop_near_point(), GrDrag::addStopNearPoint(), Inkscape::UI::Toolbar::TextToolbar::align_mode_changed(), Inkscape::UI::Toolbar::Box3DToolbar::angle_value_changed(), Inkscape::UI::Toolbar::SelectToolbar::any_value_changed(), Inkscape::UI::Dialog::CloneTiler::apply(), Inkscape::UI::Dialog::TextEdit::apply_changes(), Inkscape::UI::Dialog::Transformation::applyPageMove(), Inkscape::UI::Dialog::Transformation::applyPageRotate(), Inkscape::UI::Dialog::Transformation::applyPageScale(), Inkscape::UI::Dialog::Transformation::applyPageSkew(), Inkscape::UI::Dialog::Transformation::applyPageTransform(), Inkscape::UI::Dialog::GridArrangeTab::arrange(), Inkscape::UI::Dialog::PolarArrangeTab::arrange(), Inkscape::UI::Tools::Box3dTool::Box3dTool(), Inkscape::UI::Widget::StrokeStyle::buttonToggledCB(), Inkscape::UI::Tools::ArcTool::cancel(), Inkscape::UI::Tools::Box3dTool::cancel(), Inkscape::UI::Tools::RectTool::cancel(), Inkscape::UI::Tools::SpiralTool::cancel(), Inkscape::UI::Tools::StarTool::cancel(), canvas_transform(), Inkscape::UI::Tools::cc_selection_set_avoid(), Inkscape::UI::Dialog::Export::checkOrCreateDirectory(), Inkscape::UI::Widget::ColorNotebook::ColorNotebook(), ContextMenu::ContextMenu(), Inkscape::UI::Toolbar::NodeToolbar::coord_changed(), create_flowtext_with_internal_frame(), create_text_with_inline_size(), create_text_with_rectangle(), Inkscape::UI::Toolbar::ConnectorToolbar::curvature_changed(), Inkscape::UI::Tools::TextTool::deleteSelected(), InkscapeApplication::desktopClose(), InkscapeApplication::destroyDesktop(), Inkscape::UI::Toolbar::TextToolbar::direction_changed(), Inkscape::UI::Widget::RotateableSwatch::do_motion(), Inkscape::UI::Widget::RotateableStrokeWidth::do_motion(), Inkscape::UI::Widget::RotateableSwatch::do_release(), Inkscape::UI::Widget::RotateableStrokeWidth::do_release(), Inkscape::UI::Tools::do_trace(), document_check_for_data_loss(), InkscapeApplication::document_fix(), InkscapeApplication::document_revert(), InkscapeApplication::document_swap(), Inkscape::UI::Dialog::DocumentProperties::documentReplaced(), Inkscape::UI::Toolbar::TextToolbar::dx_value_changed(), Inkscape::UI::Toolbar::TextToolbar::dy_value_changed(), Inkscape::Extension::Implementation::Implementation::effect(), Inkscape::Extension::Implementation::Script::effect(), Inkscape::ObjectSet::enforceIds(), SPKnot::eventHandler(), Inkscape::UI::Dialog::Export::exportRaster(), file_import(), Inkscape::UI::Tools::ArcTool::finishItem(), Inkscape::UI::Tools::Box3dTool::finishItem(), Inkscape::UI::Tools::RectTool::finishItem(), Inkscape::UI::Tools::SpiralTool::finishItem(), Inkscape::UI::Tools::StarTool::finishItem(), fit_canvas_to_drawing(), Inkscape::UI::Tools::fit_item(), Inkscape::UI::Tools::MeshTool::fit_mesh_in_bbox(), flowtext_to_text(), Inkscape::UI::Toolbar::TextToolbar::fontfamily_value_changed(), Inkscape::UI::Toolbar::MeasureToolbar::fontsize_value_changed(), Inkscape::UI::Toolbar::TextToolbar::fontsize_value_changed(), Inkscape::UI::Toolbar::TextToolbar::fontstyle_value_changed(), Inkscape::UI::Tools::get_item_at(), Inkscape::UI::Tools::MarkerTool::get_marker_transform(), Inkscape::UI::Dialog::get_or_create_layer_for_glyph(), getMarkerBounds(), gr_knot_moved_handler(), gr_knot_ungrabbed_handler(), Inkscape::UI::Toolbar::GradientToolbar::gradient_changed(), Inkscape::UI::Toolbar::ConnectorToolbar::graph_layout(), SPAvoidRef::handleSettingChange(), init_avoided_shape_geometry(), layer_bottom(), layer_delete(), layer_duplicate(), layer_from_group(), layer_hide_all(), layer_hide_toggle_others(), layer_lock_all(), layer_lock_toggle_others(), layer_lower(), layer_new_above(), layer_next(), layer_previous(), layer_raise(), layer_to_group(), layer_top(), layer_unhide_all(), layer_unlock_all(), Inkscape::UI::Toolbar::SelectToolbar::layout_widget_update(), Inkscape::UI::Toolbar::TextToolbar::letterspacing_value_changed(), Inkscape::UI::Toolbar::TextToolbar::lineheight_unit_changed(), Inkscape::UI::Toolbar::TextToolbar::lineheight_value_changed(), Inkscape::UI::Tools::lpetool_try_construction(), Inkscape::UI::Toolbar::StarToolbar::magnitude_value_changed(), Inkscape::UI::Tools::PagesTool::marginKnotMoved(), Inkscape::UI::Widget::StrokeStyle::markerSelectCB(), Inkscape::UI::Toolbar::TextToolbar::mergeDefaultStyle(), Inkscape::UI::Toolbar::EraserToolbar::mode_changed(), Inkscape::UI::Toolbar::LPEToolbar::mode_changed(), Inkscape::ObjectSet::ObjectSet(), Inkscape::UI::Toolbar::MeasureToolbar::offset_value_changed(), Inkscape::UI::Widget::EntityLineEntry::on_changed(), Inkscape::UI::Widget::EntityMultiLineEntry::on_changed(), Inkscape::UI::Widget::RegisteredColorPicker::on_changed(), Inkscape::UI::Dialog::ColorItem::on_click(), Inkscape::UI::Widget::SelectedStyle::on_fill_black(), Inkscape::UI::Widget::SelectedStyle::on_fill_invert(), Inkscape::UI::Widget::SelectedStyle::on_fill_lastselected(), Inkscape::UI::Widget::SelectedStyle::on_fill_lastused(), Inkscape::UI::Widget::SelectedStyle::on_fill_opaque(), Inkscape::UI::Widget::SelectedStyle::on_fill_remove(), Inkscape::UI::Widget::SelectedStyle::on_fill_unset(), Inkscape::UI::Widget::SelectedStyle::on_fill_white(), Inkscape::UI::Widget::SelectedStyle::on_opacity_changed(), Inkscape::UI::Widget::SelectedStyle::on_opacity_click(), Inkscape::UI::Widget::SelectedStyle::on_popup_preset(), Inkscape::UI::Dialog::FontCollectionsManager::on_reset_button_pressed(), Inkscape::UI::Dialog::TextEdit::on_reset_button_pressed(), Inkscape::UI::Toolbar::TextToolbar::on_reset_button_pressed(), Inkscape::UI::Dialog::ColorItem::on_rightclick(), Inkscape::UI::Dialog::TextEdit::on_search_entry_changed(), Inkscape::UI::Widget::SelectedStyle::on_stroke_black(), Inkscape::UI::Widget::SelectedStyle::on_stroke_invert(), Inkscape::UI::Widget::SelectedStyle::on_stroke_lastselected(), Inkscape::UI::Widget::SelectedStyle::on_stroke_lastused(), Inkscape::UI::Widget::SelectedStyle::on_stroke_opaque(), Inkscape::UI::Widget::SelectedStyle::on_stroke_remove(), Inkscape::UI::Widget::SelectedStyle::on_stroke_unset(), Inkscape::UI::Widget::SelectedStyle::on_stroke_white(), Inkscape::UI::Dialog::Find::onAction(), Inkscape::UI::Dialog::TextEdit::onReadSelection(), Inkscape::UI::Toolbar::TextToolbar::orientation_changed(), Inkscape::UI::Toolbar::ConnectorToolbar::orthogonal_toggled(), page_delete_and_center(), page_new_and_center(), Inkscape::UI::Tools::PagesTool::PagesTool(), Inkscape::LivePathEffect::PathParam::param_editOncanvas(), Inkscape::UI::Tools::TextTool::pasteInline(), Inkscape::UI::Toolbar::MeasureToolbar::precision_value_changed(), Inkscape::UI::Toolbar::TextToolbar::prepare_inner(), Inkscape::UI::Toolbar::StarToolbar::proportion_value_changed(), Inkscape::UI::Toolbar::StarToolbar::randomized_value_changed(), Inkscape::UI::Dialog::BatchExport::refreshItems(), Inkscape::UI::Dialog::IconPreviewPanel::refreshPreview(), Inkscape::UI::ShapeEditor::reset_item(), Inkscape::UI::Tools::PagesTool::resizeKnotFinished(), Inkscape::UI::Tools::PagesTool::resizeKnotMoved(), Inkscape::UI::Tools::Box3dTool::root_handler(), Inkscape::UI::Tools::DropperTool::root_handler(), Inkscape::UI::Tools::GradientTool::root_handler(), Inkscape::UI::Tools::PagesTool::root_handler(), Inkscape::UI::Tools::SprayTool::root_handler(), Inkscape::UI::Tools::TextTool::root_handler(), Inkscape::UI::Tools::TweakTool::root_handler(), Inkscape::UI::Toolbar::TextToolbar::rotation_value_changed(), Inkscape::UI::Toolbar::StarToolbar::rounded_value_changed(), Inkscape::UI::Toolbar::MeasureToolbar::scale_value_changed(), Inkscape::UI::Toolbar::TextToolbar::script_changed(), Inkscape::UI::Tools::NodeTool::select_area(), GrDrag::selected_move(), Inkscape::UI::Tools::MarkerTool::selection_changed(), Inkscape::UI::Dialog::FilterEffectsDialog::FilterModifier::selection_toggled(), Inkscape::UI::Dialog::set_color(), Inkscape::UI::Dialog::DocumentProperties::set_content_scale(), Inkscape::UI::Dialog::set_document_dimensions(), Inkscape::UI::Dialog::DocumentProperties::set_document_scale(), Inkscape::UI::Dialog::set_namedview_bool(), Inkscape::UI::Dialog::DocumentProperties::set_viewbox_pos(), Inkscape::UI::Dialog::DocumentProperties::set_viewbox_size(), InkscapeWindow::setActiveTab(), Inkscape::UI::Widget::PageSelector::setDesktop(), Inkscape::UI::Widget::StrokeStyle::setDesktop(), Inkscape::UI::Toolbar::GradientToolbar::setDesktop(), Inkscape::UI::Toolbar::MeshToolbar::setDesktop(), Inkscape::UI::Toolbar::PageToolbar::setDesktop(), Inkscape::UI::Toolbar::TextToolbar::setDesktop(), Inkscape::UI::Dialog::DialogBase::setDesktop(), Inkscape::UI::Tools::MeasureTool::setGuide(), Inkscape::UI::Tools::MeasureTool::setMarker(), Inkscape::UI::Tools::MeasureTool::setMarkers(), Inkscape::UI::Tools::MeasureTool::setMeasureItem(), Inkscape::UI::Widget::StrokeStyle::setStrokeDash(), Inkscape::UI::Widget::StrokeStyle::setStrokeMiter(), Inkscape::UI::Widget::StrokeStyle::setStrokeWidth(), Inkscape::UI::Widget::StyleSwatch::setStyle(), Inkscape::UI::Tools::MeasureTool::showCanvasItems(), Inkscape::UI::Tools::MeasureTool::showInfoBox(), Inkscape::UI::Toolbar::StarToolbar::side_mode_changed(), sp_edit_clear_all(), sp_file_revert_dialog(), Inkscape::UI::Tools::sp_flood_do_flood_fill(), sp_gradient_invert_selected_gradients(), sp_gradient_reverse_selected_gradients(), sp_import_document(), sp_namedview_document_from_window(), sp_namedview_zoom_and_view_from_document(), Inkscape::UI::Tools::SelectTool::sp_select_context_abort(), sp_selected_path_create_offset_object(), sp_selected_path_do_offset(), sp_selection_item_prev(), sp_selection_paste(), Inkscape::UI::Toolbar::ConnectorToolbar::spacing_changed(), Inkscape::UI::Tools::spdc_apply_bend_shape(), Inkscape::UI::Tools::spdc_apply_powerstroke_shape(), Inkscape::UI::Tools::spdc_apply_simplify(), Inkscape::UI::Tools::spdc_check_for_and_apply_waiting_LPE(), Inkscape::UI::Tools::spdc_create_single_dot(), Inkscape::UI::Tools::spdc_flush_white(), Inkscape::UI::Tools::MeshTool::split_near_point(), Inkscape::UI::Toolbar::GradientToolbar::spread_changed(), Inkscape::ObjectSet::strokedBounds(), text_flow_into_shape(), text_flow_shape_subtract(), text_put_on_path(), text_remove_all_kerns(), text_remove_from_path(), text_to_glyphs(), text_unflow(), Inkscape::UI::Tools::MeasureTool::toGuides(), Inkscape::UI::Tools::MeasureTool::toItem(), Inkscape::UI::Tools::MeasureTool::toMarkDimension(), Inkscape::ObjectSet::toNextLayer(), Inkscape::UI::Tools::MeasureTool::toPhantom(), Inkscape::ObjectSet::toPrevLayer(), Inkscape::UI::Toolbar::MeshToolbar::type_changed(), Inkscape::UI::Toolbar::TextToolbar::unindent_node(), Inkscape::UI::Widget::StrokeStyle::unitChangedCB(), Inkscape::UI::Widget::SelectedStyle::update(), Inkscape::LivePathEffect::Parameter::update_satellites(), Inkscape::UI::Dialog::DocumentProperties::update_scale_ui(), Inkscape::UI::Dialog::DocumentProperties::update_viewbox(), Inkscape::UI::Dialog::DocumentProperties::update_viewbox_ui(), Inkscape::UI::Toolbar::PencilToolbar::update_width_value(), Inkscape::UI::Widget::FillNStroke::updateFromPaint(), Inkscape::UI::Widget::CanvasGrid::updateRulers(), Inkscape::UI::Toolbar::NodeToolbar::value_changed(), window_open(), Inkscape::UI::Toolbar::TextToolbar::wordspacing_value_changed(), Inkscape::UI::Widget::RegisteredWidget< W >::write_to_xml(), and Inkscape::UI::Toolbar::TextToolbar::writing_mode_changed().

◆ getGroupAtPoint()

SPItem * SPDesktop::getGroupAtPoint ( Geom::Point const &  p) const
See also
SPDocument::getGroupAtPoint()

Definition at line 368 of file desktop.cpp.

References dkey, doc(), and SPDocument::getGroupAtPoint().

◆ getInkscapeWindow() [1/2]

InkscapeWindow * SPDesktop::getInkscapeWindow ( )

Definition at line 980 of file desktop.cpp.

References _widget, and SPDesktopWidget::get_window().

◆ getInkscapeWindow() [2/2]

◆ getItemAtPoint()

◆ getItemFromListAtPointBottom()

SPItem * SPDesktop::getItemFromListAtPointBottom ( std::vector< SPItem * > const &  list,
Geom::Point const &  p 
) const

◆ getItemsAtPoints()

std::vector< SPItem * > SPDesktop::getItemsAtPoints ( std::vector< Geom::Point ps,
bool  all_layers = true,
bool  topmost_only = true,
size_t  limit = 0,
bool  active_only = true 
) const

Definition at line 358 of file desktop.cpp.

References dkey, doc(), SPDocument::getItemsAtPoints(), and limit.

◆ getNamedView()

SPNamedView * SPDesktop::getNamedView ( ) const
inline

Definition at line 191 of file desktop.h.

References namedview.

Referenced by Inkscape::UI::Widget::CanvasGrid::_createGuide(), Inkscape::UI::Widget::CanvasGrid::_createGuideItem(), Inkscape::UI::Node::_getDragTip(), Inkscape::UI::Tools::PenTool::_handleButtonPress(), Inkscape::UI::Tools::PencilTool::_handleButtonPress(), Inkscape::UI::Tools::PenTool::_handleMotionNotify(), Inkscape::UI::Tools::PencilTool::_handleMotionNotify(), Inkscape::UI::Widget::CanvasGrid::_rulerButtonRelease(), Inkscape::UI::Tools::PenTool::_setAngleDistanceStatusMessage(), Inkscape::UI::Tools::PenTool::_setToNearestHorizVert(), Inkscape::UI::Dialog::GuidelinePropertiesDialog::_setup(), Inkscape::UI::PathManipulator::_updateDragPoint(), SPDesktopWidget::_updateNamedview(), SPDesktopWidget::_updateUnit(), avoid_item_poly(), Inkscape::BooleanBuilder::BooleanBuilder(), Inkscape::UI::Dialog::Transformation::desktopReplaced(), Inkscape::UI::Dialog::DocumentProperties::documentReplaced(), Inkscape::UI::Tools::SpiralTool::drag(), Inkscape::UI::Tools::ArcTool::drag(), Inkscape::UI::Tools::RectTool::drag(), Inkscape::UI::Tools::StarTool::drag(), Inkscape::UI::CurveDragPoint::dragged(), Inkscape::UI::Node::dragged(), SnapManager::getGridSnappers(), Inkscape::UI::TransformHandle::getNextClosestPoint(), Inkscape::UI::Tools::PagesTool::getSnappedResizePoint(), gr_knot_moved_handler(), gr_knot_moved_midpoint_handler(), graphlayout(), Inkscape::UI::Tools::MeasureTool::knotEndMovedHandler(), Inkscape::UI::Tools::MeasureTool::knotStartMovedHandler(), SnapManager::multipleOfGridPitch(), Inkscape::UI::Toolbar::ConnectorToolbar::notifyAttributeChanged(), Inkscape::UI::Widget::RegisteredColorPicker::on_changed(), Inkscape::UI::Dialog::DocumentProperties::onNewGrid(), Inkscape::UI::Dialog::DocumentProperties::rebuild_gridspage(), reconstruction_finish(), Inkscape::BooleanBuilder::redraw_items(), Inkscape::UI::Tools::ArcTool::root_handler(), Inkscape::UI::Tools::Box3dTool::root_handler(), Inkscape::UI::Tools::MeasureTool::root_handler(), Inkscape::UI::Tools::MeshTool::root_handler(), Inkscape::UI::Tools::NodeTool::root_handler(), Inkscape::UI::Tools::RectTool::root_handler(), Inkscape::UI::Tools::SpiralTool::root_handler(), Inkscape::UI::Tools::StarTool::root_handler(), Inkscape::UI::Tools::TextTool::root_handler(), Inkscape::UI::Widget::ruler_snap_new_guide(), Inkscape::UI::Dialog::set_color(), Inkscape::UI::Dialog::set_namedview_bool(), Inkscape::UI::Widget::SelectedStyle::setDesktop(), Inkscape::UI::Toolbar::ConnectorToolbar::setDesktop(), Inkscape::UI::Toolbar::MeasureToolbar::setDesktop(), Inkscape::UI::Tools::MeasureTool::setGuide(), Inkscape::UI::Dialog::BatchExport::setup(), Inkscape::UI::Dialog::SingleExport::setup(), Inkscape::UI::Dialog::SingleExport::setupUnits(), Inkscape::UI::Tools::MeasureTool::showInfoBox(), KnotHolderEntity::snap_knot_position(), KnotHolderEntity::snap_knot_position_constrained(), Inkscape::snap_rectangular_box(), sp_dt_guide_event(), sp_import_document(), sp_namedview_document_from_window(), sp_namedview_update_layers_from_document(), sp_namedview_window_from_document(), sp_namedview_zoom_and_view_from_document(), Inkscape::UI::Toolbar::ConnectorToolbar::spacing_changed(), Inkscape::UI::Tools::spdc_endpoint_snap_free(), Inkscape::UI::Tools::spdc_endpoint_snap_rotation(), Inkscape::UI::Widget::StrokeStyle::StrokeStyle(), SPDesktopWidget::switchDesktop(), Inkscape::UI::Tools::MeasureTool::toGuides(), Inkscape::UI::Dialog::DocumentProperties::update_widgets(), Inkscape::UI::Widget::StrokeStyle::updateLine(), Box3D::vp_knot_moved_handler(), and Inkscape::UI::Widget::RegisteredWidget< W >::write_to_xml().

◆ getSelection()

Inkscape::Selection * SPDesktop::getSelection ( ) const
inline

Definition at line 188 of file desktop.h.

References _selection.

Referenced by Inkscape::UI::Widget::StyleSubject::Selection::_afterDesktopSwitch(), Inkscape::UI::Dialog::LayerPropertiesDialog::_doCreate(), Inkscape::UI::Dialog::LayerPropertiesDialog::_doMove(), Inkscape::UI::Toolbar::PencilToolbar::_flattenLPE(), Inkscape::UI::Widget::StyleSubject::Selection::_getSelection(), Inkscape::UI::Tools::PenTool::_handleButtonPress(), Inkscape::UI::Tools::PencilTool::_handleButtonPress(), Inkscape::UI::Tools::PenTool::_handleButtonRelease(), Inkscape::UI::Tools::PencilTool::_handleButtonRelease(), Inkscape::UI::Tools::PenTool::_handleKeyPress(), Inkscape::UI::Tools::PencilTool::_handleKeyPress(), Inkscape::UI::Toolbar::SelectToolbar::_selectionChanged(), Inkscape::UI::Toolbar::TextToolbar::_selectionChanged(), Inkscape::UI::Toolbar::SelectToolbar::_selectionModified(), Inkscape::UI::Toolbar::SelectToolbar::_sensitize(), Inkscape::UI::Tools::PenTool::_setToNearestHorizVert(), Inkscape::UI::Tools::TextTool::_setupText(), Inkscape::UI::Toolbar::ArcToolbar::_startendValueChanged(), Inkscape::UI::Toolbar::ArcToolbar::_typeChanged(), Inkscape::UI::Toolbar::GradientToolbar::_update(), Inkscape::UI::Toolbar::RectToolbar::_valueChanged(), Inkscape::UI::Toolbar::SpiralToolbar::_valueChanged(), Inkscape::UI::Toolbar::ArcToolbar::_valueChanged(), Inkscape::UI::Dialog::ColorItem::action_edit(), Inkscape::Application::activate_desktop(), Inkscape::Application::add_desktop(), Inkscape::UI::Toolbar::GradientToolbar::add_stop(), Inkscape::UI::Toolbar::TextToolbar::align_mode_changed(), Inkscape::UI::Dialog::AlignAndDistribute::AlignAndDistribute(), Inkscape::UI::Toolbar::Box3DToolbar::angle_value_changed(), Inkscape::UI::Toolbar::SelectToolbar::any_value_changed(), Inkscape::UI::Dialog::TextEdit::apply_changes(), Inkscape::UI::Tools::ArcTool::ArcTool(), Inkscape::UI::Dialog::GridArrangeTab::arrange(), Inkscape::UI::Dialog::PolarArrangeTab::arrange(), Inkscape::UI::Tools::Box3dTool::Box3dTool(), Inkscape::UI::Dialog::DocumentProperties::build_page(), Inkscape::UI::Tools::ArcTool::cancel(), Inkscape::UI::Tools::Box3dTool::cancel(), Inkscape::UI::Tools::RectTool::cancel(), Inkscape::UI::Tools::SpiralTool::cancel(), Inkscape::UI::Tools::StarTool::cancel(), Inkscape::UI::Tools::cc_selection_set_avoid(), Inkscape::Extension::Implementation::Script::PreviewObserver::connect(), Inkscape::LivePathEffect::Parameter::connect_selection_changed(), Inkscape::UI::Tools::ConnectorTool::ConnectorTool(), ContextMenu::ContextMenu(), Inkscape::UI::Toolbar::ConnectorToolbar::curvature_changed(), InkscapeApplication::desktopOpen(), Inkscape::UI::Tools::do_trace(), Inkscape::LivePathEffect::LPEBool::doBeforeEffect(), Inkscape::UI::Dialog::DocumentResources::DocumentResources(), Inkscape::Extension::Implementation::Script::effect(), Inkscape::Extension::Internal::BlurEdge::effect(), Inkscape::Extension::Internal::Filter::Filter::effect(), Inkscape::Extension::Internal::Grid::effect(), Inkscape::Extension::Internal::Grid::effect(), Inkscape::UI::Widget::StrokeStyle::enterEditMarkerMode(), Inkscape::Extension::ExecutionEnv::ExecutionEnv(), file_import(), Inkscape::UI::Tools::ArcTool::finishItem(), Inkscape::UI::Tools::RectTool::finishItem(), Inkscape::UI::Tools::SpiralTool::finishItem(), Inkscape::UI::Tools::StarTool::finishItem(), Inkscape::UI::Tools::MeshTool::fit_mesh_in_bbox(), Inkscape::SelectionHelper::fixSelection(), Inkscape::UI::Tools::FloodTool::FloodTool(), flowtext_to_text(), Inkscape::UI::Tools::FreehandBase::FreehandBase(), Inkscape::UI::Dialog::TextEdit::getSelectedTextCount(), Inkscape::UI::Dialog::TextEdit::getSelectedTextItem(), Inkscape::UI::Toolbar::GradientToolbar::gradient_changed(), Inkscape::UI::Tools::GradientTool::GradientTool(), Inkscape::UI::Toolbar::ConnectorToolbar::graph_layout(), group_enter(), group_exit(), Inkscape::UI::Tools::InteractiveBooleansTool::hide_selected_objects(), Inkscape::UI::Tools::InteractiveBooleansTool::InteractiveBooleansTool(), Inkscape::UI::Tools::InteractiveBooleansTool::is_ready(), Inkscape::UI::Tools::LpeTool::item_handler(), Inkscape::UI::Tools::TextTool::item_handler(), layer_delete(), layer_duplicate(), layer_from_group(), layer_new_above(), layer_to_group(), Inkscape::UI::Toolbar::StarToolbar::length_value_changed(), Inkscape::UI::Toolbar::TextToolbar::lineheight_unit_changed(), Inkscape::UI::Toolbar::TextToolbar::lineheight_value_changed(), Inkscape::UI::Dialog::SingleExport::loadExportHints(), Inkscape::UI::Tools::LpeTool::LpeTool(), Inkscape::UI::Tools::lpetool_try_construction(), Inkscape::UI::Toolbar::StarToolbar::magnitude_value_changed(), Inkscape::UI::Widget::StrokeStyle::markerSelectCB(), Inkscape::UI::Tools::MarkerTool::MarkerTool(), Inkscape::UI::Tools::MeshTool::MeshTool(), Inkscape::UI::Dialog::SpellCheck::nextWord(), Inkscape::UI::Tools::NodeTool::NodeTool(), Inkscape::UI::Toolbar::StarToolbar::notifyAttributeChanged(), Inkscape::UI::Dialog::AlignAndDistribute::on_align_relative_object_changed(), Inkscape::UI::Dialog::GridArrangeTab::on_col_spinbutton_changed(), Inkscape::UI::Widget::SelectedStyle::on_fillstroke_swap(), InkscapeWindow::on_is_active_changed(), Inkscape::UI::Dialog::GridArrangeTab::on_row_spinbutton_changed(), Inkscape::LivePathEffect::OriginalPathParam::on_select_original_button_click(), Inkscape::LivePathEffect::OriginalSatelliteParam::on_select_original_button_click(), Inkscape::UI::Dialog::Find::onAction(), Inkscape::UI::Dialog::BatchExport::onExport(), Inkscape::UI::Dialog::SingleExport::onExport(), Inkscape::UI::Dialog::Export::onNotebookPageSwitch(), Inkscape::UI::Toolbar::ConnectorToolbar::orthogonal_toggled(), Inkscape::UI::Tools::PagesTool::PagesTool(), Inkscape::UI::Widget::FillNStroke::performUpdate(), Inkscape::UI::Tools::TextTool::placeCursor(), Inkscape::UI::Tools::TextTool::placeCursorAt(), Inkscape::Extension::Implementation::Implementation::prefs_effect(), Inkscape::Extension::Internal::Bitmap::ImageMagick::prefs_effect(), Inkscape::Extension::Internal::Grid::prefs_effect(), Inkscape::UI::Toolbar::StarToolbar::proportion_value_changed(), Inkscape::UI::Toolbar::StarToolbar::randomized_value_changed(), reconstruction_start(), Inkscape::UI::Tools::RectTool::RectTool(), Inkscape::UI::Dialog::SingleExport::refreshArea(), Inkscape::UI::Dialog::BatchExport::refreshItems(), Inkscape::UI::Dialog::BatchExport::refreshPreview(), Inkscape::UI::Dialog::SingleExport::refreshPreview(), Inkscape::Application::remove_desktop(), Inkscape::UI::Toolbar::GradientToolbar::remove_stop(), Inkscape::Extension::ExecutionEnv::reselect(), Inkscape::SelectionHelper::reverse(), Inkscape::UI::Tools::ArcTool::root_handler(), Inkscape::UI::Tools::Box3dTool::root_handler(), Inkscape::UI::Tools::DropperTool::root_handler(), Inkscape::UI::Tools::GradientTool::root_handler(), Inkscape::UI::Tools::LpeTool::root_handler(), Inkscape::UI::Tools::MarkerTool::root_handler(), Inkscape::UI::Tools::MeshTool::root_handler(), Inkscape::UI::Tools::NodeTool::root_handler(), Inkscape::UI::Tools::RectTool::root_handler(), Inkscape::UI::Tools::SpiralTool::root_handler(), Inkscape::UI::Tools::StarTool::root_handler(), Inkscape::UI::Tools::TextTool::root_handler(), Inkscape::UI::Tools::TweakTool::root_handler(), Inkscape::UI::Toolbar::StarToolbar::rounded_value_changed(), Inkscape::Extension::ExecutionEnv::run(), Inkscape::SelCue::SelCue(), Inkscape::UI::Tools::NodeTool::select_area(), Inkscape::UI::Dialog::FilterEffectsDialog::FilterModifier::select_filter_elements(), select_path_inset(), select_path_inset_screen(), select_path_offset(), select_path_offset_dynamic(), select_path_offset_linked(), select_path_offset_screen(), Inkscape::UI::Tools::NodeTool::select_point(), Inkscape::UI::Toolbar::MeshToolbar::selection_changed(), Inkscape::UI::Tools::GradientTool::selection_changed(), Inkscape::UI::Tools::MeshTool::selection_changed(), selection_move_to_layer_above(), selection_move_to_layer_below(), Inkscape::UI::Dialog::FilterEffectsDialog::FilterModifier::selection_toggled(), Inkscape::UI::Dialog::BatchExport::selectionChanged(), Inkscape::UI::Dialog::SingleExport::selectionChanged(), Inkscape::UI::Dialog::BatchExport::selectionModified(), Inkscape::UI::Dialog::SingleExport::selectionModified(), Inkscape::UI::Dialog::ObjectAttributes::selectionModified(), Inkscape::SelectionHelper::selectNone(), Inkscape::UI::Tools::SelectTool::SelectTool(), Inkscape::UI::Toolbar::SelectToolbar::SelectToolbar(), Inkscape::SelTrans::SelTrans(), Inkscape::UI::Tools::ToolBase::set(), Inkscape::UI::Tools::NodeTool::set(), InkscapeWindow::setActiveTab(), Inkscape::LayerManager::setCurrentLayer(), Inkscape::UI::Dialog::BatchExport::setDefaultSelectionMode(), Inkscape::UI::Dialog::SingleExport::setDefaultSelectionMode(), Inkscape::UI::Widget::FillNStroke::setDesktop(), Inkscape::UI::Widget::SelectedStyle::setDesktop(), Inkscape::UI::Toolbar::ArcToolbar::setDesktop(), Inkscape::UI::Toolbar::Box3DToolbar::setDesktop(), Inkscape::UI::Toolbar::ConnectorToolbar::setDesktop(), Inkscape::UI::Toolbar::GradientToolbar::setDesktop(), Inkscape::UI::Toolbar::LPEToolbar::setDesktop(), Inkscape::UI::Toolbar::MeshToolbar::setDesktop(), Inkscape::UI::Toolbar::NodeToolbar::setDesktop(), Inkscape::UI::Toolbar::RectToolbar::setDesktop(), Inkscape::UI::Toolbar::SelectToolbar::setDesktop(), Inkscape::UI::Toolbar::SpiralToolbar::setDesktop(), Inkscape::UI::Toolbar::StarToolbar::setDesktop(), Inkscape::UI::Toolbar::TextToolbar::setDesktop(), Inkscape::UI::Dialog::DialogBase::setDesktop(), Inkscape::UI::Tools::MeasureTool::setMeasureItem(), Inkscape::UI::Widget::StrokeStyle::setStrokeDash(), Inkscape::UI::Widget::StrokeStyle::setStrokeMiter(), Inkscape::UI::Widget::StrokeStyle::setStrokeWidth(), SnapManager::setupIgnoreSelection(), Inkscape::UI::Toolbar::PencilToolbar::shapewidth_value_changed(), Inkscape::UI::Tools::MeasureTool::showCanvasItems(), Inkscape::UI::Tools::MeasureTool::showInfoBox(), Inkscape::UI::Toolbar::StarToolbar::side_mode_changed(), sp_desktop_query_style(), sp_desktop_set_style(), sp_edit_select_all_full(), Inkscape::UI::Tools::sp_event_context_find_item(), sp_gradient_invert_selected_gradients(), sp_gradient_reverse_selected_gradients(), sp_import_document(), Inkscape::UI::Tools::sp_select_context_up_one_layer(), sp_select_same_fill_stroke_style(), sp_select_same_object_type(), sp_selected_path_create_offset_object(), sp_selected_path_do_offset(), sp_selection_item_next(), sp_selection_item_prev(), sp_selection_next_patheffect_param(), Inkscape::UI::Tools::sp_tweak_dilate(), Inkscape::UI::Tools::sp_update_helperpath(), Inkscape::UI::Tools::spdc_check_for_and_apply_waiting_LPE(), Inkscape::UI::Tools::spdc_create_single_dot(), Inkscape::UI::Tools::spdc_endpoint_snap_free(), Inkscape::UI::Tools::SpiralTool::SpiralTool(), Inkscape::UI::Tools::SprayTool::SprayTool(), Inkscape::UI::Toolbar::GradientToolbar::spread_changed(), Inkscape::UI::Tools::StarTool::StarTool(), Inkscape::UI::Dialog::StyleFromSelectionToTool(), Inkscape::UI::Tools::InteractiveBooleansTool::switching_away(), text_flow_into_shape(), text_flow_shape_subtract(), Inkscape::UI::Toolbar::TextToolbar::text_outer_set_style(), text_put_on_path(), text_remove_all_kerns(), text_remove_from_path(), text_to_glyphs(), text_unflow(), Inkscape::UI::Tools::TextTool::TextTool(), Inkscape::UI::Toolbar::LPEToolbar::toggle_set_bbox(), Inkscape::UI::Toolbar::PencilToolbar::tolerance_value_changed(), transform_grow_screen(), Inkscape::LivePathEffect::LPEBool::transform_multiply(), Inkscape::LivePathEffect::LPEFillBetweenMany::transform_multiply_nested(), Inkscape::LivePathEffect::LPEFillBetweenStrokes::transform_multiply_nested(), transform_rotate_screen(), Inkscape::UI::Toolbar::MeshToolbar::type_changed(), Inkscape::UI::Tools::TweakTool::update_cursor(), Inkscape::LivePathEffect::Parameter::update_satellites(), Inkscape::UI::Widget::FillNStroke::updateFromPaint(), Inkscape::UI::Widget::StrokeStyle::updateLine(), Inkscape::UI::Widget::CanvasGrid::updateRulers(), Inkscape::UI::Dialog::GridArrangeTab::updateSelection(), Inkscape::UI::Toolbar::Box3DToolbar::vp_state_changed(), and Inkscape::UI::Dialog::ObjectAttributes::widget_setup().

◆ getSnapIndicator()

◆ getTool()

Inkscape::UI::Tools::ToolBase * SPDesktop::getTool ( ) const
inline

Definition at line 187 of file desktop.h.

References _tool.

Referenced by Inkscape::UI::ControlPoint::_commonInit(), Inkscape::UI::Tools::ToolBase::_keyboardMove(), Inkscape::UI::Widget::CanvasGrid::_rulerButtonRelease(), Inkscape::UI::Toolbar::TextToolbar::_selectionChanged(), Inkscape::UI::Toolbar::GradientToolbar::_update(), Inkscape::UI::Toolbar::GradientToolbar::add_stop(), Inkscape::UI::Toolbar::BooleansToolbar::BooleansToolbar(), canvas_zoom_helper(), Inkscape::UI::Tools::cc_generic_knot_handler(), Inkscape::ObjectSet::cut(), Inkscape::UI::Widget::RotateableSwatch::do_motion(), Inkscape::UI::Widget::RotateableStrokeWidth::do_motion(), Inkscape::UI::Widget::RotateableSwatch::do_release(), Inkscape::UI::Widget::RotateableStrokeWidth::do_release(), drawing_handler(), Inkscape::UI::Toolbar::TextToolbar::dx_value_changed(), Inkscape::UI::Toolbar::TextToolbar::dy_value_changed(), ActionsEdit::edit_delete(), Inkscape::UI::Widget::StrokeStyle::enterEditMarkerMode(), SPKnot::eventHandler(), get_measure_tool(), Inkscape::UI::Toolbar::MeshToolbar::get_mesh_tool(), Inkscape::UI::Toolbar::NodeToolbar::get_node_tool(), Inkscape::Selection::getState(), gr_knot_moved_handler(), Inkscape::UI::TransformHandle::grabbed(), Inkscape::UI::Toolbar::GradientToolbar::gradient_changed(), Inkscape::SelectionHelper::invert(), Inkscape::SelectionHelper::invertAllInAll(), KnotHolder::knot_mousedown_handler(), Inkscape::UI::Toolbar::TextToolbar::lineheight_unit_changed(), Inkscape::UI::Toolbar::TextToolbar::lineheight_value_changed(), Inkscape::UI::Widget::StrokeStyle::markerSelectCB(), Inkscape::UI::Dialog::MeasureToolSettingsDialog::MeasureToolSettingsDialog(), Inkscape::UI::Toolbar::LPEToolbar::mode_changed(), Inkscape::UI::Toolbar::PencilToolbar::mode_changed(), Inkscape::UI::Dialog::SpellCheck::nextWord(), node_align(), node_distribute(), Inkscape::UI::Toolbar::LPEToolbar::open_lpe_dialog(), Inkscape::LivePathEffect::PathParam::param_editOncanvas(), Inkscape::UI::Toolbar::TextToolbar::prepare_inner(), Inkscape::LivePathEffect::NodeSatelliteArrayParam::reloadKnots(), Inkscape::UI::Toolbar::GradientToolbar::remove_stop(), Inkscape::SelectionHelper::reverse(), Inkscape::UI::Tools::TextTool::root_handler(), Inkscape::UI::Toolbar::TextToolbar::rotation_value_changed(), Inkscape::UI::Widget::CanvasGrid::rulerMotion(), Inkscape::UI::Toolbar::LPEToolbar::sel_changed(), Inkscape::UI::Toolbar::LPEToolbar::sel_modified(), Inkscape::SelectionHelper::selectAll(), Inkscape::SelectionHelper::selectAllInAll(), Inkscape::SelectionHelper::selectNone(), Persp3D::set(), set_active_tool(), Inkscape::Display::SnapIndicator::set_new_snaptarget(), Inkscape::Selection::setState(), sp_desktop_root_handler(), sp_desktop_set_style(), sp_dt_guide_event(), sp_gradient_reverse_selected_gradients(), sp_import_document(), sp_sel_trans_handle_click(), sp_sel_trans_handle_event(), sp_sel_trans_handle_grab(), sp_sel_trans_handle_new_event(), sp_sel_trans_handle_request(), sp_sel_trans_handle_ungrab(), Inkscape::UI::Tools::sp_toggle_dropper(), Inkscape::UI::Tools::sp_toggle_selector(), Inkscape::UI::Tools::sp_update_helperpath(), Inkscape::UI::Toolbar::GradientToolbar::stop_changed(), Inkscape::UI::Toolbar::TextToolbar::subselection_wrap_toggle(), SPDesktopWidget::switchDesktop(), Inkscape::LivePathEffect::LPECloneOriginal::syncOriginal(), Inkscape::UI::Toolbar::LPEToolbar::toggle_set_bbox(), Inkscape::UI::Toolbar::LPEToolbar::toggle_show_bbox(), Inkscape::UI::Toolbar::LPEToolbar::toggle_show_measuring_info(), tool_switch(), Inkscape::UI::TransformHandle::ungrabbed(), Inkscape::UI::Toolbar::LPEToolbar::unit_changed(), Inkscape::UI::Widget::Canvas::update_cursor(), and Inkscape::LivePathEffect::Effect::update_helperpath().

◆ getTranslucencyGroup()

Inkscape::Display::TranslucencyGroup & SPDesktop::getTranslucencyGroup ( ) const
inline

◆ getWindowSize()

Geom::IntPoint SPDesktop::getWindowSize ( ) const

◆ guidesMessageContext()

Inkscape::MessageContext * SPDesktop::guidesMessageContext ( ) const
inline

Definition at line 290 of file desktop.h.

References _guides_message_context.

Referenced by Inkscape::UI::Widget::CanvasGrid::CanvasGrid().

◆ handle_y_axis_flip()

◆ is_darktheme()

bool SPDesktop::is_darktheme ( ) const

Definition at line 919 of file desktop.cpp.

References getInkscapeWindow().

◆ is_flipped()

bool SPDesktop::is_flipped ( CanvasFlip  flip)

Definition at line 845 of file desktop.cpp.

References _current_affine, and SPDesktop::DesktopAffine::isFlipped().

◆ is_focusMode()

bool SPDesktop::is_focusMode ( ) const

Checks to see if the user is working in focused mode.

Returns
the value of _focusMode.

Definition at line 939 of file desktop.cpp.

References _focusMode.

Referenced by canvas_interface_mode(), getLayoutPrefPath(), SPDesktopWidget::layoutWidgets(), view_focus_toggle(), and view_set_gui().

◆ is_fullscreen()

bool SPDesktop::is_fullscreen ( ) const

◆ is_maximized()

bool SPDesktop::is_maximized ( ) const

◆ is_yaxisdown()

◆ isMinimised()

bool SPDesktop::isMinimised ( ) const

Definition at line 914 of file desktop.cpp.

References getInkscapeWindow(), and InkscapeWindow::isMinimised().

Referenced by InkscapeWindow::on_size_changed().

◆ isToolboxButtonActive()

bool SPDesktop::isToolboxButtonActive ( char const *  id) const

Definition at line 1145 of file desktop.cpp.

References _widget, and SPDesktopWidget::isToolboxButtonActive().

◆ isWaitingCursor()

bool SPDesktop::isWaitingCursor ( ) const
inline

Definition at line 402 of file desktop.h.

References waiting_cursor.

◆ isWithinViewport()

bool SPDesktop::isWithinViewport ( SPItem const *  item) const

True if desktop viewport intersects item's bbox.

Definition at line 253 of file desktop.cpp.

References SPItem::desktopVisualBounds(), get_display_area(), and item.

Referenced by next_item(), and next_item_from_list().

◆ itemIsHidden()

◆ layerManager() [1/2]

Inkscape::LayerManager & SPDesktop::layerManager ( )
inline

Definition at line 287 of file desktop.h.

References _layer_manager.

Referenced by Inkscape::UI::Dialog::LayerPropertiesDialog::_addLayer(), Inkscape::UI::Dialog::LayerPropertiesDialog::_doCreate(), Inkscape::UI::Dialog::LayerPropertiesDialog::_doRename(), Inkscape::Selection::_emitChanged(), Inkscape::UI::Tools::PencilTool::_fitAndSplit(), Inkscape::UI::Widget::LayerSelector::_hideLayer(), Inkscape::UI::Widget::LayerSelector::_layerModified(), Inkscape::UI::Widget::LayerSelector::_lockLayer(), Inkscape::UI::Dialog::LayerPropertiesDialog::_setup(), Inkscape::UI::Dialog::LayerPropertiesDialog::_setup_layers_controls(), Inkscape::Selection::activeContext(), Inkscape::UI::Dialog::Find::all_items(), Inkscape::UI::Dialog::Find::all_selection_items(), Inkscape::UI::Dialog::SpellCheck::allTextItems(), ContextMenu::ContextMenu(), create_flowtext_with_internal_frame(), create_text_with_inline_size(), create_text_with_rectangle(), Inkscape::UI::Tools::MeasureTool::createAngleDisplayCurve(), Inkscape::UI::Tools::ToolBase::currentLayer(), Inkscape::UI::Dialog::ObjectsPanel::desktopReplaced(), Inkscape::UI::Tools::do_trace(), Inkscape::ObjectSet::duplicate(), Inkscape::UI::Dialog::SvgFontsDialog::edit_glyph(), Inkscape::Extension::Internal::Grid::effect(), Inkscape::Extension::Internal::Grid::effect(), file_import(), Inkscape::UI::Dialog::find_layer(), Inkscape::SelectionHelper::fixSelection(), get_all_items_recursive(), get_avoided_items_rec(), Inkscape::UI::Dialog::get_layer_for_glyph(), Inkscape::UI::Dialog::get_or_create_layer_for_glyph(), SPDocument::getItemsAtPoints(), group_enter(), group_exit(), Inkscape::have_viable_layer(), Inkscape::have_viable_layer(), init_avoided_shape_geometry(), itemtree_map(), layer_bottom(), layer_delete(), layer_duplicate(), layer_hide_all(), layer_hide_toggle(), layer_hide_toggle_others(), layer_lock_all(), layer_lock_toggle(), layer_lock_toggle_others(), layer_lower(), layer_new(), layer_new_above(), layer_next(), layer_previous(), layer_raise(), layer_rename(), layer_to_group(), layer_top(), layer_unhide_all(), layer_unlock_all(), next_item(), Inkscape::Selection::numberOfLayers(), Inkscape::UI::Dialog::ObjectsPanel::on_click(), Inkscape::UI::Dialog::Find::onAction(), process_all(), reconstruction_finish(), reconstruction_start(), Inkscape::UI::Dialog::BatchExport::refreshItems(), Inkscape::UI::Dialog::FilterEffectsDialog::FilterModifier::remove_filter(), Inkscape::UI::Dialog::rename_glyph_layer(), Inkscape::UI::Dialog::FilterEffectsDialog::FilterModifier::select_filter_elements(), Inkscape::UI::Dialog::ObjectsPanel::selectCursorItem(), selection_move_to_layer(), Inkscape::UI::Dialog::ObjectsPanel::selectRange(), Inkscape::UI::Dialog::XmlTree::set_dt_select(), Inkscape::UI::Widget::LayerSelector::setDesktop(), Inkscape::UI::Tools::MeasureTool::setLabelText(), Inkscape::UI::Tools::MeasureTool::setLine(), Inkscape::UI::Tools::MeasureTool::setMeasureItem(), Inkscape::UI::Tools::MeasureTool::setPoint(), Inkscape::UI::Tools::MeasureTool::showCanvasItems(), sp_edit_clear_all(), sp_edit_select_all_full(), sp_import_document(), sp_namedview_document_from_window(), sp_namedview_update_layers_from_document(), Inkscape::UI::Tools::sp_select_context_up_one_layer(), sp_select_same_fill_stroke_style(), sp_select_same_object_type(), sp_selection_item_next(), sp_selection_item_prev(), Inkscape::UI::Toolbar::ConnectorToolbar::spacing_changed(), Inkscape::UI::Dialog::ObjectsPanel::toggleLocked(), Inkscape::UI::Dialog::ObjectsPanel::toggleVisible(), Inkscape::UI::Tools::MeasureTool::toGuides(), Inkscape::UI::Tools::MeasureTool::toItem(), Inkscape::ObjectSet::toLayer(), Inkscape::ObjectSet::toNextLayer(), Inkscape::ObjectSet::toPrevLayer(), SPSymbol::unSymbol(), and Inkscape::SelectionDescriber::updateMessage().

◆ layerManager() [2/2]

Inkscape::LayerManager const & SPDesktop::layerManager ( ) const
inline

Definition at line 288 of file desktop.h.

References _layer_manager.

◆ layoutWidget()

void SPDesktop::layoutWidget ( )

Definition at line 1086 of file desktop.cpp.

References _widget, and SPDesktopWidget::layoutWidgets().

Referenced by focusMode(), onWindowStateChanged(), and toggleToolbar().

◆ messageStack()

Inkscape::MessageStack * SPDesktop::messageStack ( ) const
inline

Definition at line 160 of file desktop.h.

References _message_stack.

Referenced by Inkscape::LivePathEffect::LPEEllipse5Pts::_clearWarning(), Inkscape::UI::Dialog::LayerPropertiesDialog::_doCreate(), Inkscape::UI::Dialog::LayerPropertiesDialog::_doRename(), Inkscape::UI::Tools::PenTool::_finish(), Inkscape::LivePathEffect::LPEEllipse5Pts::_flashWarning(), Inkscape::UI::Tools::PenTool::_handleButtonPress(), Inkscape::UI::Tools::PencilTool::_handleButtonPress(), Inkscape::UI::Tools::PencilTool::_handleButtonRelease(), Inkscape::UI::Tools::PencilTool::_handleKeyPress(), Inkscape::UI::Tools::PencilTool::_handleKeyRelease(), Inkscape::UI::Tools::TextTool::_insertUnichar(), Inkscape::ObjectSet::_pathBoolOp(), Inkscape::UI::Dialog::CloneTiler::apply(), Inkscape::ObjectSet::applyAffine(), Inkscape::UI::Dialog::Transformation::applyPageSkew(), Inkscape::UI::Dialog::Transformation::applyPageTransform(), Inkscape::ObjectSet::breakApart(), Inkscape::UI::Tools::cc_selection_set_avoid(), Inkscape::UI::Dialog::Export::checkOrCreateDirectory(), Inkscape::ObjectSet::clone(), Inkscape::ObjectSet::cloneOriginal(), Inkscape::ObjectSet::cloneOriginalPathLPE(), Inkscape::ObjectSet::combine(), Inkscape::UI::Tools::MeasureTool::copyToClipboard(), Inkscape::ObjectSet::createBitmapCopy(), Inkscape::UI::Tools::do_trace(), Inkscape::LivePathEffect::Effect::editNextParamOncanvas(), SPKnot::eventHandler(), Inkscape::UI::Dialog::Export::exportRaster(), Inkscape::UI::Dialog::Export::exportVector(), Inkscape::ObjectSet::fillBetweenMany(), Inkscape::ObjectSet::fitCanvas(), flowtext_to_text(), layer_bottom(), layer_delete(), layer_duplicate(), layer_from_group(), layer_hide_toggle(), layer_hide_toggle_others(), layer_lock_toggle(), layer_lock_toggle_others(), layer_lower(), layer_new_above(), layer_next(), layer_previous(), layer_raise(), layer_to_group(), layer_top(), next_transform(), Inkscape::UI::Dialog::ObjectsPanel::on_motion_enter(), Inkscape::UI::Dialog::ObjectsPanel::on_motion_leave(), Inkscape::UI::Dialog::Find::onAction(), Inkscape::UI::Dialog::BatchExport::onExport(), Inkscape::ObjectSet::pathReverse(), prev_transform(), Inkscape::ObjectSet::relink(), Inkscape::UI::Dialog::CloneTiler::remove(), Inkscape::ObjectSet::removeFilter(), Inkscape::ObjectSet::removeLPE(), Inkscape::UI::Tools::TextTool::root_handler(), Inkscape::UI::Tools::ObjectPickerTool::root_handler(), selection_display_message(), Inkscape::UI::Tools::SelectTool::SelectTool(), Inkscape::ObjectSet::setClipGroup(), Inkscape::ObjectSet::setMask(), Inkscape::ObjectSet::simplifyPaths(), sp_file_revert_dialog(), sp_file_vacuum(), Inkscape::UI::Tools::sp_flood_do_flood_fill(), Inkscape::UI::Tools::SelectTool::sp_select_context_abort(), sp_selected_path_create_offset_object(), sp_selected_path_do_offset(), sp_selection_next_patheffect_param(), sp_te_delete(), sp_te_insert(), sp_te_insert_line(), Inkscape::UI::Tools::spdc_concat_colors_and_flush(), Inkscape::UI::Tools::spdc_create_single_dot(), Inkscape::ObjectSet::strokesToPaths(), Inkscape::UI::Dialog::StyleFromSelectionToTool(), SPDesktopWidget::switchDesktop(), text_flow_into_shape(), text_flow_shape_subtract(), text_put_on_path(), text_remove_all_kerns(), text_remove_from_path(), text_to_glyphs(), text_unflow(), Inkscape::ObjectSet::tile(), Inkscape::ObjectSet::toCurves(), Inkscape::UI::Toolbar::MeasureToolbar::toggle_all_layers(), Inkscape::UI::Toolbar::SelectToolbar::toggle_corners(), Inkscape::UI::Toolbar::SelectToolbar::toggle_gradient(), Inkscape::UI::Toolbar::MeasureToolbar::toggle_ignore_1st_and_last(), Inkscape::UI::Toolbar::MeasureToolbar::toggle_only_selected(), Inkscape::UI::Toolbar::SelectToolbar::toggle_pattern(), Inkscape::UI::Toolbar::MeasureToolbar::toggle_show_hidden(), Inkscape::UI::Toolbar::MeasureToolbar::toggle_show_in_between(), Inkscape::UI::Toolbar::SelectToolbar::toggle_stroke(), Inkscape::ObjectSet::toGuides(), Inkscape::ObjectSet::toLayer(), Inkscape::ObjectSet::toMarker(), Inkscape::ObjectSet::toNextLayer(), Inkscape::UI::Tools::ToolBase::ToolBase(), Inkscape::ObjectSet::toPrevLayer(), Inkscape::ObjectSet::toSymbol(), Inkscape::UI::Dialog::CloneTiler::unclump(), Inkscape::ObjectSet::unlink(), Inkscape::ObjectSet::unlinkRecursive(), Inkscape::ObjectSet::unsetMask(), and Inkscape::ObjectSet::untile().

◆ next_transform()

void SPDesktop::next_transform ( )

◆ on_zoom_begin()

void SPDesktop::on_zoom_begin ( Gdk::EventSequence *  sequence)
private

Definition at line 1377 of file desktop.cpp.

References _begin_zoom, and current_zoom().

Referenced by SPDesktop().

◆ on_zoom_end()

void SPDesktop::on_zoom_end ( Gdk::EventSequence *  sequence)
private

Definition at line 1393 of file desktop.cpp.

References _begin_zoom.

Referenced by SPDesktop().

◆ on_zoom_scale()

void SPDesktop::on_zoom_scale ( double  scale)
private

Definition at line 1382 of file desktop.cpp.

References _begin_zoom, canvas, scale, w2d(), and zoom_absolute().

Referenced by SPDesktop().

◆ onStatusMessage()

void SPDesktop::onStatusMessage ( Inkscape::MessageType  type,
char const *  message 
)
private

Definition at line 1273 of file desktop.cpp.

References _widget, SPDesktopWidget::get_desktop(), and SPDesktopWidget::setMessage().

Referenced by SPDesktop().

◆ onWindowStateChanged()

void SPDesktop::onWindowStateChanged ( Gdk::Toplevel::State  changed,
Gdk::Toplevel::State  new_toplevel_state 
)

onWindowStateChanged

Called when the window changes its maximize/fullscreen/iconify/pinned state.

Definition at line 1097 of file desktop.cpp.

References getInkscapeWindow(), Inkscape::Util::has_flag(), layoutWidget(), and view_set_gui().

Referenced by InkscapeWindow::on_toplevel_state_changed().

◆ operator=() [1/2]

SPDesktop & SPDesktop::operator= ( SPDesktop &&  )
delete

◆ operator=() [2/2]

SPDesktop & SPDesktop::operator= ( SPDesktop const &  )
delete

◆ point()

Geom::Point SPDesktop::point ( ) const

Returns the mouse point in desktop coordinates; if mouse is outside the canvas, returns the center of canvas viewpoint.

Definition at line 378 of file desktop.cpp.

References canvas, and w2d().

Referenced by file_import(), Inkscape::UI::Tools::SprayTool::root_handler(), scroll_absolute(), sp_import_document(), Inkscape::UI::Tools::sp_spray_update_area(), and Inkscape::UI::Tools::sp_tweak_update_area().

◆ presentWindow()

void SPDesktop::presentWindow ( )

◆ prev_transform()

void SPDesktop::prev_transform ( )

Revert back to previous transform if possible.

Note: current transform is always at front of stack.

Definition at line 390 of file desktop.cpp.

References _current_affine, Inkscape::MessageStack::flash(), messageStack(), set_display_area(), transforms_future, transforms_past, and Inkscape::WARNING_MESSAGE.

Referenced by canvas_transform().

◆ quick_preview()

void SPDesktop::quick_preview ( bool  activate)

◆ quick_zoomed()

bool SPDesktop::quick_zoomed ( ) const
inline

Returns whether the desktop is in quick zoom mode or not.

Definition at line 340 of file desktop.h.

References _quick_zoom_enabled.

◆ reconstruction_finish()

void SPDesktop::reconstruction_finish ( )
private

Called when document rebuild is finished.

Definition at line 1313 of file desktop.cpp.

References _reconstruction_old_layer_id, document, getNamedView(), SPDocument::getObjectById(), layerManager(), and Inkscape::LayerManager::setCurrentLayer().

Referenced by _attachDocument().

◆ reconstruction_start()

void SPDesktop::reconstruction_start ( )
private

◆ remove_temporary_canvasitem()

◆ rotate_absolute_center_point()

void SPDesktop::rotate_absolute_center_point ( Geom::Point const &  c,
double  rotate 
)

Set new rotation, aligning the point 'c' to the center of desktop window.

Parameters
cPoint in desktop coordinates
rotateAngle in clockwise direction

Definition at line 768 of file desktop.cpp.

References _current_affine, c, canvas, set_display_area(), and SPDesktop::DesktopAffine::setRotate().

Referenced by canvas_rotate_absolute_degrees(), canvas_rotate_absolute_radians(), and canvas_transform().

◆ rotate_absolute_keep_point()

void SPDesktop::rotate_absolute_keep_point ( Geom::Point const &  c,
double  rotate 
)

Set new rotation, keeping the point 'c' fixed in the desktop window.

Parameters
cPoint in desktop coordinates
rotateAngle in clockwise direction

Definition at line 742 of file desktop.cpp.

References _current_affine, c, d2w(), set_display_area(), SPDesktop::DesktopAffine::setRotate(), and w.

Referenced by sp_namedview_zoom_and_view_from_document().

◆ rotate_grab_focus()

void SPDesktop::rotate_grab_focus ( )

Tell widget to let rotate widget grab keyboard focus.

Definition at line 731 of file desktop.cpp.

References _widget, and SPDesktopWidget::letRotateGrabFocus().

◆ rotate_relative_center_point()

void SPDesktop::rotate_relative_center_point ( Geom::Point const &  c,
double  rotate 
)

Rotate aligning the point 'c' to the center of desktop window.

Parameters
cPoint in desktop coordinates
rotateAngle in clockwise direction

Definition at line 781 of file desktop.cpp.

References _current_affine, SPDesktop::DesktopAffine::addRotate(), c, canvas, and set_display_area().

Referenced by canvas_rotate_relative_degrees(), canvas_rotate_relative_radians(), and canvas_transform().

◆ rotate_relative_keep_point()

void SPDesktop::rotate_relative_keep_point ( Geom::Point const &  c,
double  rotate 
)

Rotate keeping the point 'c' fixed in the desktop window.

Parameters
cPoint in desktop coordinates
rotateAngle in clockwise direction

Definition at line 755 of file desktop.cpp.

References _current_affine, SPDesktop::DesktopAffine::addRotate(), c, d2w(), set_display_area(), and w.

◆ schedule_zoom_from_document()

void SPDesktop::schedule_zoom_from_document ( )

Schedule the zoom/view settings from the document to be applied to the desktop just after the canvas is first allocated a size, but before any drawing has started.

We do things at this point because we need to know the canvas size in order to center the page correctly, and the page needs to be centered correctly before we start drawing!

Note that during startup, GTK is supposed to allocate each widget once. In the past, it was observed doing multiple wrong allocations first, but this no longer happens. This would be a symptom of a widget (like ToolbarWidget) that tries to change its size upon being allocated a size.

Definition at line 648 of file desktop.cpp.

References _schedule_zoom_from_document_connection, canvas, and sp_namedview_zoom_and_view_from_document().

Referenced by SPDesktop().

◆ scroll_absolute()

◆ scroll_relative()

void SPDesktop::scroll_relative ( Geom::Point const &  delta)

Scroll canvas by specific coordinate amount (window coordinates).

Definition at line 872 of file desktop.cpp.

References canvas, delta, Geom::GenericRect< C >::min(), and scroll_absolute().

Referenced by scroll_relative_in_svg_coords(), scroll_to_point(), and scroll_to_show_item().

◆ scroll_relative_in_svg_coords()

void SPDesktop::scroll_relative_in_svg_coords ( double  dx,
double  dy 
)

Scroll canvas by specific coordinate amount in svg coordinates.

Definition at line 882 of file desktop.cpp.

References _current_affine, SPDesktop::DesktopAffine::getZoom(), scale, and scroll_relative().

◆ scroll_to_point()

bool SPDesktop::scroll_to_point ( Geom::Point const &  p,
double  autoscrollspeed = 0 
)

◆ set_coordinate_status()

void SPDesktop::set_coordinate_status ( Geom::Point const &  p)

◆ set_display_area() [1/3]

◆ set_display_area() [2/3]

void SPDesktop::set_display_area ( Geom::Point const &  c,
Geom::Point const &  w,
bool  log = true 
)

Map the drawing to the window so that 'c' lies at 'w' where where 'c' is a point on the canvas and 'w' is position in window in screen pixels.

Definition at line 479 of file desktop.cpp.

References _current_affine, SPDesktop::DesktopAffine::addOffset(), c, d2w(), log(), offset, set_display_area(), and w.

◆ set_display_area() [3/3]

void SPDesktop::set_display_area ( Geom::Rect const &  r,
Geom::Coord  border,
bool  log = true 
)

Map the center of rectangle 'r' (which specifies a non-rotated region of the drawing) to lie at the center of the window.

The zoom factor is calculated such that the edges of 'r' closest to 'w' are 'border' length inside of the window (if there is no rotation). 'r' is in document pixel units, 'border' is in screen pixels.

Definition at line 493 of file desktop.cpp.

References _current_affine, border, canvas, Geom::GenericRect< C >::height(), log(), Geom::GenericRect< C >::midpoint(), set_display_area(), SPDesktop::DesktopAffine::setOffset(), SPDesktop::DesktopAffine::setScale(), SP_DESKTOP_ZOOM_MAX, SP_DESKTOP_ZOOM_MIN, w, Geom::GenericRect< C >::width(), and yaxisdir().

◆ set_display_center()

void SPDesktop::set_display_center ( Geom::Rect const &  a)

Centre Rect, without zooming.

Definition at line 593 of file desktop.cpp.

References Geom::GenericRect< C >::midpoint(), and zoom_absolute().

Referenced by Inkscape::PageManager::centerToPage().

◆ set_display_width()

void SPDesktop::set_display_width ( Geom::Rect const &  a,
Geom::Coord  border 
)

Set display area in only the width dimension.

Definition at line 580 of file desktop.cpp.

References border, current_center(), Geom::GenericRect< C >::left(), set_display_area(), Geom::GenericRect< C >::width(), and Geom::Point::y().

Referenced by Inkscape::PageManager::zoomToPage().

◆ set_rotation_lock()

void SPDesktop::set_rotation_lock ( bool  lock)
inline

Definition at line 344 of file desktop.h.

References rotation_locked.

Referenced by apply_preferences_canvas_transform(), and canvas_rotate_lock().

◆ setColorMode()

void SPDesktop::setColorMode ( Inkscape::ColorMode  mode)

Definition at line 1010 of file desktop.cpp.

References _widget, canvas, SPDesktopWidget::desktopChangedTitle(), and mode.

Referenced by canvas_color_mode_toggle().

◆ setDesktopWidget()

void SPDesktop::setDesktopWidget ( SPDesktopWidget dtw)

Definition at line 208 of file desktop.cpp.

References _widget.

Referenced by SPDesktopWidget::addDesktop(), and SPDesktopWidget::removeDesktop().

◆ setDocument()

void SPDesktop::setDocument ( SPDocument doc)

Associate document with desktop.

Definition at line 1183 of file desktop.cpp.

References _attachDocument(), _detachDocument(), _selection, doc(), and document.

Referenced by change_document(), and SPDesktop().

◆ setRenderMode()

void SPDesktop::setRenderMode ( Inkscape::RenderMode  mode)

◆ setTempHideOverlays()

void SPDesktop::setTempHideOverlays ( bool  hide)

Shows or hides the on-canvas overlays and controls, such as grids, guides, manipulation handles, knots, selection cues, etc.

Parameters
hide- whether the aforementioned UI elements should be hidden

Definition at line 1039 of file desktop.cpp.

References _canvas_group_controls, _canvas_group_grids, _overlays_visible, _saved_guides_visible, canvas, SPNamedView::getShowGuides(), namedview, Inkscape::CanvasItem::set_visible(), and SPNamedView::temporarily_show_guides().

Referenced by quick_preview().

◆ setTool()

void SPDesktop::setTool ( std::string const &  toolName)

Replaces the currently active tool with a new one.

Pass the empty string to unset and free the current tool.

Parameters
toolNameThe preferences path for the new tool. Note that if you are calling this to reset the currently active tool, you must copy the string from _tool->getPrefsPath(), so we do not keep a ref to string in reset tool. e.g. setTool(std::string{_tool->getPrefsPath()})

Definition at line 308 of file desktop.cpp.

References _event_context_changed_signal, _tool, ToolFactory::createObject(), delete_then_null(), and set_active_tool().

Referenced by change_document(), SPDesktop(), and tool_switch().

◆ setToolboxAdjustmentValue()

void SPDesktop::setToolboxAdjustmentValue ( char const *  id,
double  val 
)

◆ setToolboxFocusTo()

◆ setWaitingCursor()

◆ setWindowSize()

void SPDesktop::setWindowSize ( Geom::IntPoint const &  size)

◆ setWindowTransient()

◆ showInfoDialog()

void SPDesktop::showInfoDialog ( Glib::ustring const &  message)

Definition at line 991 of file desktop.cpp.

References _widget, and SPDesktopWidget::showInfoDialog().

Referenced by InkscapeApplication::document_fix().

◆ showNotice()

void SPDesktop::showNotice ( Glib::ustring const &  msg,
int  timeout = 0 
)

◆ tipsMessageContext()

Inkscape::MessageContext * SPDesktop::tipsMessageContext ( ) const
inline

◆ toggleCommandPalette()

void SPDesktop::toggleCommandPalette ( )

Definition at line 1019 of file desktop.cpp.

References _widget, and SPDesktopWidget::toggle_command_palette().

◆ toggleLockGuides()

void SPDesktop::toggleLockGuides ( )

Definition at line 1172 of file desktop.cpp.

References namedview, and SPNamedView::toggleLockGuides().

◆ toggleRulers()

void SPDesktop::toggleRulers ( )

Definition at line 1023 of file desktop.cpp.

References _widget, and SPDesktopWidget::toggle_rulers().

◆ toggleScrollbars()

void SPDesktop::toggleScrollbars ( )

Definition at line 1029 of file desktop.cpp.

References _widget, and SPDesktopWidget::toggle_scrollbars().

◆ toggleToolbar()

◆ updateDialogs()

void SPDesktop::updateDialogs ( )

◆ viewNumber()

int SPDesktop::viewNumber ( ) const
inline

Definition at line 194 of file desktop.h.

References _view_number.

Referenced by SPDesktopWidget::_updateTitle().

◆ w2d() [1/2]

Geom::Affine const & SPDesktop::w2d ( ) const
inline

Transformation from window to desktop coordinates (zoom/rotate).

Definition at line 416 of file desktop.h.

References _current_affine, and SPDesktop::DesktopAffine::w2d().

Referenced by Inkscape::UI::Tools::PenTool::_handleButtonPress(), Inkscape::UI::Tools::PencilTool::_handleButtonPress(), Inkscape::UI::Tools::PenTool::_handleButtonRelease(), Inkscape::UI::Tools::PencilTool::_handleButtonRelease(), Inkscape::UI::Tools::PenTool::_handleMotionNotify(), Inkscape::UI::Tools::PencilTool::_handleMotionNotify(), Inkscape::UI::Tools::PencilTool::_interpolate(), Inkscape::UI::Widget::CanvasGrid::_rulerButtonRelease(), Inkscape::UI::Tools::PencilTool::_sketchInterpolate(), Inkscape::UI::PathManipulator::_updateDragPoint(), Inkscape::UI::PathManipulator::_updateOutline(), Inkscape::UI::Tools::PencilTool::addPowerStrokePencil(), canvas_transform(), get_display_area(), Inkscape::UI::Tools::get_item_at(), Inkscape::UI::Node::grabbed(), SPKnot::handler_request_position(), Inkscape::UI::Tools::GradientTool::is_over_curve(), Inkscape::UI::Tools::NodeTool::item_handler(), Inkscape::UI::Tools::TextTool::item_handler(), Inkscape::Display::SnapIndicator::make_distribution_indicators(), on_zoom_scale(), Inkscape::UI::Tools::MeshTool::over_curve(), point(), Inkscape::UI::Tools::EraserTool::root_handler(), Inkscape::UI::Tools::ArcTool::root_handler(), Inkscape::UI::Tools::Box3dTool::root_handler(), Inkscape::UI::Tools::DropperTool::root_handler(), Inkscape::UI::Tools::MeasureTool::root_handler(), Inkscape::UI::Tools::MeshTool::root_handler(), Inkscape::UI::Tools::NodeTool::root_handler(), Inkscape::UI::Tools::RectTool::root_handler(), Inkscape::UI::Tools::SpiralTool::root_handler(), Inkscape::UI::Tools::SprayTool::root_handler(), Inkscape::UI::Tools::StarTool::root_handler(), Inkscape::UI::Tools::TextTool::root_handler(), Inkscape::UI::Tools::TweakTool::root_handler(), Inkscape::UI::Tools::ZoomTool::root_handler(), Inkscape::UI::Widget::CanvasGrid::rulerMotion(), Inkscape::UI::Tools::set_event_location(), Inkscape::Display::SnapIndicator::set_new_snaptarget(), Inkscape::UI::Tools::ObjectPickerTool::show_text(), Inkscape::UI::Tools::MeasureTool::showCanvasItems(), Inkscape::UI::Tools::MeasureTool::showInfoBox(), Inkscape::UI::Widget::Canvas::size_allocate_vfunc(), Inkscape::UI::Tools::sp_flood_do_flood_fill(), and zoom_quick().

◆ w2d() [2/2]

Geom::Point SPDesktop::w2d ( Geom::Point const &  p) const
inline

Definition at line 417 of file desktop.h.

References _current_affine, and SPDesktop::DesktopAffine::w2d().

◆ warnDialog()

bool SPDesktop::warnDialog ( Glib::ustring const &  text)

Definition at line 997 of file desktop.cpp.

References _widget, and SPDesktopWidget::warnDialog().

Referenced by sp_file_revert_dialog().

◆ yaxisdir()

◆ zoom_absolute()

void SPDesktop::zoom_absolute ( Geom::Point const &  center,
double  zoom,
bool  keep_point = true 
)

Zoom to the given absolute zoom level.

Parameters
center- Point we want to zoom in on
zoom- Absolute amount of zoom (1.0 is 100%)
keep_point- Keep center fixed in the desktop window.

Definition at line 538 of file desktop.cpp.

References _current_affine, canvas, d2w(), Geom::GenericRect< C >::midpoint(), set_display_area(), SPDesktop::DesktopAffine::setScale(), SP_DESKTOP_ZOOM_MAX, SP_DESKTOP_ZOOM_MIN, w, and yaxisdir().

Referenced by InkscapeApplication::document_revert(), on_zoom_scale(), set_display_center(), Inkscape::UI::Widget::Canvas::size_allocate_vfunc(), sp_namedview_zoom_and_view_from_document(), zoom_realworld(), and zoom_relative().

◆ zoom_drawing()

void SPDesktop::zoom_drawing ( )

Zoom to whole drawing.

Definition at line 602 of file desktop.cpp.

References SPItem::bbox_valid, SPItem::desktopVisualBounds(), doc(), SPDocument::getRoot(), and set_display_area().

Referenced by canvas_transform().

◆ zoom_grab_focus()

void SPDesktop::zoom_grab_focus ( )

Tell widget to let zoom widget grab keyboard focus.

Definition at line 722 of file desktop.cpp.

References _widget, and SPDesktopWidget::letZoomGrabFocus().

◆ zoom_quick()

void SPDesktop::zoom_quick ( bool  enable = true)

Performs a quick zoom into what the user is working on.

Parameters
enableWhether we're going in or out of quick zoom.

Definition at line 669 of file desktop.cpp.

References _current_affine, _quick_zoom_affine, _quick_zoom_enabled, _selection, _tool, Geom::are_near(), Geom::GenericRect< C >::area(), canvas, Geom::GenericRect< C >::midpoint(), set_display_area(), w2d(), and zoom_relative().

◆ zoom_realworld()

void SPDesktop::zoom_realworld ( Geom::Point const &  center,
double  ratio 
)

Zoom in to an absolute realworld ratio, e.g.

1:1 physical screen units

Parameters
center- Point we want to zoom in on.
ratio- Absolute physical zoom ratio.

Definition at line 570 of file desktop.cpp.

References Inkscape::Preferences::get(), Inkscape::Preferences::getDouble(), and zoom_absolute().

Referenced by canvas_transform().

◆ zoom_relative()

void SPDesktop::zoom_relative ( Geom::Point const &  center,
double  zoom,
bool  keep_point = true 
)

Zoom in or out relatively to the current zoom.

Parameters
center- Point we want to zoom in on
zoom- Relative amount of zoom. at 50% + 50% -> 25% zoom
keep_point- Keep center fixed in the desktop window.

Definition at line 557 of file desktop.cpp.

References _current_affine, SPDesktop::DesktopAffine::getZoom(), and zoom_absolute().

Referenced by canvas_zoom_helper(), canvas_zoom_relative(), Inkscape::UI::Tools::ZoomTool::root_handler(), and zoom_quick().

◆ zoom_selection()

void SPDesktop::zoom_selection ( )

Zoom to selection.

Definition at line 625 of file desktop.cpp.

References _selection, and set_display_area().

Referenced by canvas_transform().

Member Data Documentation

◆ _begin_zoom

std::optional<double> SPDesktop::_begin_zoom
private

Definition at line 560 of file desktop.h.

Referenced by on_zoom_begin(), on_zoom_end(), and on_zoom_scale().

◆ _canvas_catchall

Inkscape::CanvasItemCatchall* SPDesktop::_canvas_catchall = nullptr
private

The bottom item for unclaimed events.

Definition at line 220 of file desktop.h.

Referenced by _setupCanvasItems(), and getCanvasCatchall().

◆ _canvas_drawing

Inkscape::CanvasItemDrawing* SPDesktop::_canvas_drawing = nullptr
private

The actual SVG drawing (a.k.a. arena).

Definition at line 221 of file desktop.h.

Referenced by _attachDocument(), _setupCanvasItems(), and getCanvasDrawing().

◆ _canvas_group_controls

Inkscape::CanvasItemGroup* SPDesktop::_canvas_group_controls = nullptr
private

Handles, knots, nodes, etc.

Definition at line 211 of file desktop.h.

Referenced by _setupCanvasItems(), getCanvasControls(), and setTempHideOverlays().

◆ _canvas_group_drawing

Inkscape::CanvasItemGroup* SPDesktop::_canvas_group_drawing = nullptr
private

SVG Drawing.

Definition at line 212 of file desktop.h.

Referenced by _setupCanvasItems().

◆ _canvas_group_grids

Inkscape::CanvasItemGroup* SPDesktop::_canvas_group_grids = nullptr
private

Grids.

Definition at line 213 of file desktop.h.

Referenced by _setupCanvasItems(), getCanvasGrids(), and setTempHideOverlays().

◆ _canvas_group_guides

Inkscape::CanvasItemGroup* SPDesktop::_canvas_group_guides = nullptr
private

Guide lines.

Definition at line 214 of file desktop.h.

Referenced by _setupCanvasItems(), and getCanvasGuides().

◆ _canvas_group_pages_bg

Inkscape::CanvasItemGroup* SPDesktop::_canvas_group_pages_bg = nullptr
private

Page background.

Definition at line 217 of file desktop.h.

Referenced by _setupCanvasItems(), and getCanvasPagesBg().

◆ _canvas_group_pages_fg

Inkscape::CanvasItemGroup* SPDesktop::_canvas_group_pages_fg = nullptr
private

Page border + shadow.

Definition at line 218 of file desktop.h.

Referenced by _setupCanvasItems(), and getCanvasPagesFg().

◆ _canvas_group_sketch

Inkscape::CanvasItemGroup* SPDesktop::_canvas_group_sketch = nullptr
private

Temporary items before becoming permanent.

Definition at line 215 of file desktop.h.

Referenced by _setupCanvasItems(), and getCanvasSketch().

◆ _canvas_group_temp

Inkscape::CanvasItemGroup* SPDesktop::_canvas_group_temp = nullptr
private

Temporary items that self-destruct.

Definition at line 216 of file desktop.h.

Referenced by _setupCanvasItems(), and getCanvasTemp().

◆ _control_point_selected

sigc::signal<void (Inkscape::UI::ControlPointSelection *)> SPDesktop::_control_point_selected
private

Definition at line 546 of file desktop.h.

Referenced by connect_control_point_selected(), and emit_control_point_selected().

◆ _current_affine

◆ _destroy_signal

sigc::signal<void (SPDesktop *)> SPDesktop::_destroy_signal
private

Definition at line 542 of file desktop.h.

Referenced by connectDestroy(), and ~SPDesktop().

◆ _document_replaced_signal

sigc::signal<void (SPDesktop *, SPDocument *)> SPDesktop::_document_replaced_signal
private

Definition at line 543 of file desktop.h.

Referenced by _attachDocument(), and connectDocumentReplaced().

◆ _document_uri_set_connection

sigc::connection SPDesktop::_document_uri_set_connection
private

Definition at line 173 of file desktop.h.

Referenced by _attachDocument(), and _detachDocument().

◆ _event_context_changed_signal

sigc::signal<void (SPDesktop *, Inkscape::UI::Tools::ToolBase *)> SPDesktop::_event_context_changed_signal
private

Definition at line 544 of file desktop.h.

Referenced by connectEventContextChanged(), and setTool().

◆ _focusMode

bool SPDesktop::_focusMode = false

Whether we're focused working or general working.

Definition at line 227 of file desktop.h.

Referenced by focusMode(), and is_focusMode().

◆ _gradient_stop_selected

sigc::signal<void (SPStop *)> SPDesktop::_gradient_stop_selected
private

Definition at line 545 of file desktop.h.

Referenced by connect_gradient_stop_selected(), and emit_gradient_stop_selected().

◆ _guides_message_context

std::unique_ptr<Inkscape::MessageContext> SPDesktop::_guides_message_context
private

Definition at line 169 of file desktop.h.

Referenced by guidesMessageContext(), SPDesktop(), and ~SPDesktop().

◆ _layer_manager

std::unique_ptr<Inkscape::LayerManager> SPDesktop::_layer_manager
private

Definition at line 540 of file desktop.h.

Referenced by layerManager(), layerManager(), and SPDesktop().

◆ _message_changed_connection

sigc::scoped_connection SPDesktop::_message_changed_connection
private

Definition at line 171 of file desktop.h.

Referenced by SPDesktop().

◆ _message_idle_connection

sigc::scoped_connection SPDesktop::_message_idle_connection
private

Definition at line 172 of file desktop.h.

Referenced by SPDesktop().

◆ _message_stack

std::unique_ptr<Inkscape::MessageStack> SPDesktop::_message_stack
private

Definition at line 167 of file desktop.h.

Referenced by messageStack(), and SPDesktop().

◆ _overlays_visible

bool SPDesktop::_overlays_visible = true
private

Whether the overlays are temporarily hidden.

Definition at line 537 of file desktop.h.

Referenced by setTempHideOverlays().

◆ _query_style_signal

sigc::signal<int (SPStyle *, int)>::accumulated<StopOnNonZero> SPDesktop::_query_style_signal

Definition at line 247 of file desktop.h.

Referenced by connectQueryStyle(), and sp_desktop_query_style().

◆ _quick_zoom_affine

DesktopAffine SPDesktop::_quick_zoom_affine
private

The transform of the screen before quick zoom.

Definition at line 535 of file desktop.h.

Referenced by zoom_quick().

◆ _quick_zoom_enabled

bool SPDesktop::_quick_zoom_enabled = false
private

Signifies that currently we're in quick zoom mode.

Definition at line 534 of file desktop.h.

Referenced by quick_zoomed(), and zoom_quick().

◆ _reconstruction_finish_connection

sigc::scoped_connection SPDesktop::_reconstruction_finish_connection
private

Definition at line 550 of file desktop.h.

Referenced by _attachDocument(), and _detachDocument().

◆ _reconstruction_old_layer_id

Glib::ustring SPDesktop::_reconstruction_old_layer_id

Definition at line 244 of file desktop.h.

Referenced by _attachDocument(), reconstruction_finish(), and reconstruction_start().

◆ _reconstruction_start_connection

sigc::scoped_connection SPDesktop::_reconstruction_start_connection
private

Definition at line 549 of file desktop.h.

Referenced by _attachDocument(), and _detachDocument().

◆ _saved_guides_visible

bool SPDesktop::_saved_guides_visible = false
private

Remembers guides' visibility when hiding overlays.

Definition at line 538 of file desktop.h.

Referenced by setTempHideOverlays().

◆ _saved_or_modified_conn

sigc::connection SPDesktop::_saved_or_modified_conn
private

Definition at line 174 of file desktop.h.

Referenced by _attachDocument(), and _detachDocument().

◆ _schedule_zoom_from_document_connection

sigc::scoped_connection SPDesktop::_schedule_zoom_from_document_connection
private

Definition at line 551 of file desktop.h.

Referenced by _detachDocument(), and schedule_zoom_from_document().

◆ _selection

std::unique_ptr<Inkscape::Selection> SPDesktop::_selection
private

current selection; will never generally be NULL

Definition at line 208 of file desktop.h.

Referenced by change_document(), getSelection(), handle_y_axis_flip(), setDocument(), SPDesktop(), zoom_quick(), zoom_selection(), and ~SPDesktop().

◆ _set_style_signal

sigc::signal<bool (SPCSSAttr const *, bool)>::accumulated<StopOnTrue> SPDesktop::_set_style_signal

Definition at line 246 of file desktop.h.

Referenced by connectSetStyle(), and sp_desktop_set_style().

◆ _snapindicator

std::unique_ptr<Inkscape::Display::SnapIndicator> SPDesktop::_snapindicator
private

Definition at line 179 of file desktop.h.

Referenced by getSnapIndicator(), SPDesktop(), and ~SPDesktop().

◆ _temporary_item_list

std::unique_ptr<Inkscape::Display::TemporaryItemList> SPDesktop::_temporary_item_list
private

◆ _text_cursor_moved

sigc::signal<void (Inkscape::UI::Tools::TextTool *)> SPDesktop::_text_cursor_moved
private

Definition at line 547 of file desktop.h.

Referenced by connect_text_cursor_moved(), and emit_text_cursor_moved().

◆ _tips_message_context

std::unique_ptr<Inkscape::MessageContext> SPDesktop::_tips_message_context
private

Definition at line 168 of file desktop.h.

Referenced by SPDesktop(), and tipsMessageContext().

◆ _tool

std::unique_ptr<Inkscape::UI::Tools::ToolBase> SPDesktop::_tool
private

◆ _translucency_group

std::unique_ptr<Inkscape::Display::TranslucencyGroup> SPDesktop::_translucency_group
private

Definition at line 178 of file desktop.h.

Referenced by getTranslucencyGroup(), and SPDesktop().

◆ _view_number

int SPDesktop::_view_number {}
private

Definition at line 182 of file desktop.h.

Referenced by _attachDocument(), and viewNumber().

◆ _widget

◆ _y_axis_flipped

sigc::scoped_connection SPDesktop::_y_axis_flipped
private

Definition at line 552 of file desktop.h.

Referenced by _attachDocument().

◆ canvas

◆ current

◆ dkey

◆ document

SPDocument* SPDesktop::document = nullptr
private

◆ gr_fill_or_stroke

Inkscape::PaintTarget SPDesktop::gr_fill_or_stroke = Inkscape::FOR_FILL

Definition at line 241 of file desktop.h.

Referenced by GrDrag::GrDrag(), and GrDrag::~GrDrag().

◆ gr_item

SPItem* SPDesktop::gr_item = nullptr

Definition at line 238 of file desktop.h.

Referenced by GrDrag::GrDrag(), and GrDrag::~GrDrag().

◆ gr_point_i

unsigned SPDesktop::gr_point_i = 0

Definition at line 240 of file desktop.h.

Referenced by GrDrag::GrDrag(), and GrDrag::~GrDrag().

◆ gr_point_type

GrPointType SPDesktop::gr_point_type = POINT_LG_BEGIN

Definition at line 239 of file desktop.h.

Referenced by GrDrag::GrDrag(), and GrDrag::~GrDrag().

◆ guides_active

bool SPDesktop::guides_active = false
Todo:
Fixme: This has to be implemented in different way

Definition at line 235 of file desktop.h.

Referenced by activate_guides(), and SPNamedView::show().

◆ interaction_disabled_counter

unsigned SPDesktop::interaction_disabled_counter = 0

Definition at line 230 of file desktop.h.

◆ namedview

SPNamedView* SPDesktop::namedview = nullptr
private

◆ rotation_locked

bool SPDesktop::rotation_locked = false

Definition at line 233 of file desktop.h.

Referenced by get_rotation_lock(), and set_rotation_lock().

◆ showing_dialogs

bool SPDesktop::showing_dialogs = false

Definition at line 232 of file desktop.h.

◆ signal_zoom_changed

sigc::signal<void (double)> SPDesktop::signal_zoom_changed

Emitted when the zoom factor changes (not emitted when scrolling).

The parameter is the new zoom factor

Definition at line 251 of file desktop.h.

Referenced by Inkscape::UI::Tools::ObjectPickerTool::ObjectPickerTool(), Inkscape::UI::Tools::PagesTool::PagesTool(), Inkscape::UI::PathManipulator::PathManipulator(), and set_display_area().

◆ transforms_future

std::list<DesktopAffine> SPDesktop::transforms_future
private

◆ transforms_past

std::list<DesktopAffine> SPDesktop::transforms_past
private

◆ waiting_cursor

bool SPDesktop::waiting_cursor = false

The documentation for this class was generated from the following files: