From fe8ea2226d06f58142a9c192960bc369ac442e20 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Thu, 11 Jan 2007 16:58:45 +0000 Subject: Use max and min scale values in the view iby taking dpi into account. 2007-01-11 Carlos Garcia Campos * shell/ev-view-private.h: * shell/ev-window.c: (ev_window_screen_changed), (ev_window_init): * shell/ev-view.[ch]: (ev_view_class_init), (ev_view_set_zoom), (ev_view_set_screen_dpi), (ev_view_can_zoom_in), (ev_view_can_zoom_out): Use max and min scale values in the view iby taking dpi into account. svn path=/trunk/; revision=2214 --- (limited to 'shell/ev-view.h') diff --git a/shell/ev-view.h b/shell/ev-view.h index e6dd395..ba736ca 100644 --- a/shell/ev-view.h +++ b/shell/ev-view.h @@ -112,6 +112,8 @@ void ev_view_set_zoom_for_size (EvView *view, int height, int vsb_width, int hsb_height); +void ev_view_set_screen_dpi (EvView *view, + gdouble dpi); void ev_view_rotate_left (EvView *view); void ev_view_rotate_right (EvView *view); void ev_view_set_rotation (EvView *view, -- cgit v0.9.1