image/svg+xml
Views and Desktops
Desktop
View
SPView - Base class for SVG views - Has a pointer to a doc (SPDocument) - Contains message stack and message context - Handles status messages - Handles redrawing screen - Emits signals on view changes - Provides sp_desktop_widget_new()
SPDesktop - Subclass of SPView - Implements an "Editable view" - Holds pointer to Inkscape::Application - Contains scrollbar, ruler, canvas, guides, etc. - Defines scroll limits, zoom min/max, fullscreen - Manages event contexts, coordinate systems, zooming, etc.