Searched defs:zoom (Results 1 - 14 of 14) sorted by relevance

/inkscape/src/
H A Dguide-snapper.cpp24 * \return Snap tolerance (desktop coordinates); depends on current zoom so that it's always the same in screen pixels
29 double const zoom = dt ? dt->current_zoom() : 1; local
30 return _snapmanager->snapprefs.getGuideTolerance() / zoom;
H A Dsp-namedview.h54 double zoom; member in class:SPNamedView
H A Ddesktop.h185 bool _quick_zoom_enabled; ///< Signifies that currently we're in quick zoom mode
186 Geom::Rect _quick_zoom_stored_area; ///< The area of the screen before quick zoom
211 /// Emitted when the zoom factor changes (not emitted when scrolling).
212 /// The parameter is the new zoom factor
329 void zoom_absolute (double cx, double cy, double zoom);
330 void zoom_relative (double cx, double cy, double zoom);
331 void zoom_absolute_keep_point (double cx, double cy, double px, double py, double zoom);
332 void zoom_relative_keep_point (double cx, double cy, double zoom);
333 void zoom_relative_keep_point (Geom::Point const &c, double const zoom) argument
335 zoom_relative_keep_point (c[Geom::X], c[Geom::Y], zoom);
[all...]
H A Dfile.cpp387 // remember current zoom and view
388 double zoom = desktop->current_zoom(); local
393 // restore zoom and view
394 desktop->zoom_absolute(c[Geom::X], c[Geom::Y], zoom);
H A Dobject-snapper.cpp64 double const zoom = dt ? dt->current_zoom() : 1; local
65 return _snapmanager->snapprefs.getObjectTolerance() / zoom;
H A Dbox3d.cpp399 gdouble const zoom = SP_ACTIVE_DESKTOP->current_zoom(); local
404 snap_dists[i] = Geom::L2 (snap_pts[i] - pt) * zoom;
H A Ddesktop.cpp79 // TODO those includes are only for node tool quick zoom. Remove them after fixing it.
248 // display rect and zoom are now handled in sp_desktop_widget_realize()
767 * Put current zoom data in history list.
788 // save the zoom
791 // if we do a logged zoom, our zoom-forward list is invalidated, so delete it
814 // zoom changed - set new zoom factors
864 * Revert back to previous zoom if possible.
870 messageStack()->flash(Inkscape::WARNING_MESSAGE, _("No previous zoom
960 zoom_absolute_keep_point(double cx, double cy, double px, double py, double zoom) argument
1006 zoom_absolute(double cx, double cy, double zoom) argument
1015 zoom_relative_keep_point(double cx, double cy, double zoom) argument
1043 zoom_relative(double cx, double cy, double zoom) argument
[all...]
H A Dgradient-drag.cpp2405 gdouble zoom = desktop->current_zoom(); local
2406 gdouble zx = x / zoom;
2407 gdouble zy = y / zoom;
H A Dtext-editing.cpp1018 // divide increment by zoom
1076 // divide increment by zoom
1183 // divide increment by zoom and by the number of characters in the line,
1185 gdouble const zoom = desktop->current_zoom(); local
1187 / (zoom * (nb_let > 1 ? nb_let - 1 : 1))
1255 // divide increment by zoom and by the number of lines,
H A Dselection-chemistry.cpp2195 gdouble const zoom = selection->desktop()->current_zoom(); local
2196 gdouble const zmove = angle / zoom;
2295 // same as sp_selection_move but divide deltas by zoom factor
2296 gdouble const zoom = selection->desktop()->current_zoom(); local
2297 gdouble const zdx = dx / zoom;
2298 gdouble const zdy = dy / zoom;
/inkscape/src/display/
H A Dcanvas-axonomgrid.cpp657 * \return Snap tolerance (desktop coordinates); depends on current zoom so that it's always the same in screen pixels
662 double const zoom = dt ? dt->current_zoom() : 1; local
663 return _snapmanager->snapprefs.getGridTolerance() / zoom;
H A Dcanvas-grid.cpp1002 * \return Snap tolerance (desktop coordinates); depends on current zoom so that it's always the same in screen pixels
1007 double const zoom = dt ? dt->current_zoom() : 1; local
1008 return _snapmanager->snapprefs.getGridTolerance() / zoom;
/inkscape/src/widgets/
H A Ddesktop-widget.cpp490 // Sticky zoom button
494 INKSCAPE_ICON("zoom-original"),
666 // zoom status spinbutton
960 double zoom = dtw->desktop->current_zoom(); local
969 /* Calculate adjusted zoom */
972 zoom *= newshortside / oldshortside;
974 dtw->desktop->zoom_absolute(area.midpoint()[Geom::X], area.midpoint()[Geom::Y], zoom);
/inkscape/src/ui/dialog/
H A Dclonetiler.cpp2054 void CloneTiler::clonetiler_trace_setup(SPDocument *doc, gdouble zoom, SPItem *original) argument
2069 trace_zoom = zoom;

Completed in 102 milliseconds