Lines Matching defs:zoom

79 // 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."));
874 // push current zoom into forward zooms list
877 // restore previous zoom
881 // remove the just-added zoom from the past zooms list
886 * Set zoom to next in list.
891 this->messageStack()->flash(Inkscape::WARNING_MESSAGE, _("No next zoom."));
895 // push current zoom into past zooms list
898 // restore next zoom
902 // remove the just-used zoom from the zooms_future list
907 * Performs a quick zoom into what the user is working on.
909 * @param enable Whether we're going in or out of quick zoom.
928 // do not zoom if a single cusp node is selected aand the bounds
957 * Zoom to point with absolute zoom factor.
960 SPDesktop::zoom_absolute_keep_point (double cx, double cy, double px, double py, double zoom)
962 zoom = CLAMP (zoom, SP_DESKTOP_ZOOM_MIN, SP_DESKTOP_ZOOM_MAX);
964 // maximum or minimum zoom reached, but there's no exact equality because of rounding errors;
965 // this check prevents "sliding" when trying to zoom in at maximum zoom;
967 if (fabs(_d2w.descrim() - zoom) < 0.0001*zoom && (fabs(SP_DESKTOP_ZOOM_MAX - zoom) < 0.01 || fabs(SP_DESKTOP_ZOOM_MIN - zoom) < 0.000001))
972 double const width2 = viewbox.dimensions()[Geom::X] / zoom;
973 double const height2 = viewbox.dimensions()[Geom::Y] / zoom;
1003 * Zoom to center with absolute zoom factor.
1006 SPDesktop::zoom_absolute (double cx, double cy, double zoom)
1008 zoom_absolute_keep_point (cx, cy, 0.5, 0.5, zoom);
1012 * Zoom to point with relative zoom factor.
1015 SPDesktop::zoom_relative_keep_point (double cx, double cy, double zoom)
1032 gdouble const scale = _d2w.descrim() * zoom;
1040 * Zoom to center with relative zoom factor.
1043 SPDesktop::zoom_relative (double cx, double cy, double zoom)
1045 gdouble scale = _d2w.descrim() * zoom;
1099 * Tell widget to let zoom widget grab keyboard focus.