diff options
author | Carlos Garcia Campos <carlosgc@gnome.org> | 2007-01-11 16:58:45 (GMT) |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@src.gnome.org> | 2007-01-11 16:58:45 (GMT) |
commit | fe8ea2226d06f58142a9c192960bc369ac442e20 (patch) | |
tree | bfccf13e3b8958407b159160e349dbb3d37b1c51 /shell/ev-view.h | |
parent | 7d113d1d39d05a1a7e9a53c031ae76c6805266c4 (diff) |
Use max and min scale values in the view iby taking dpi into account.
2007-01-11 Carlos Garcia Campos <carlosgc@gnome.org>
* 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
Diffstat (limited to 'shell/ev-view.h')
-rw-r--r-- | shell/ev-view.h | 2 |
1 files changed, 2 insertions, 0 deletions
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, |