summaryrefslogtreecommitdiff
path: root/libview/ev-view-private.h
diff options
context:
space:
mode:
Diffstat (limited to 'libview/ev-view-private.h')
-rw-r--r--libview/ev-view-private.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/libview/ev-view-private.h b/libview/ev-view-private.h
index 3f9cfb60..8957dad8 100644
--- a/libview/ev-view-private.h
+++ b/libview/ev-view-private.h
@@ -230,6 +230,23 @@ void _get_page_size_for_scale_and_rotation (EvDocument *document,
gint rotation,
gint *page_width,
gint *page_height);
+void _ev_view_transform_view_point_to_doc_point (EvView *view,
+ GdkPoint *view_point,
+ GdkRectangle *page_area,
+ double *doc_point_x,
+ double *doc_point_y);
+void _ev_view_transform_view_rect_to_doc_rect (EvView *view,
+ GdkRectangle *view_rect,
+ GdkRectangle *page_area,
+ EvRectangle *doc_rect);
+void _ev_view_transform_doc_point_to_view_point (EvView *view,
+ int page,
+ EvPoint *doc_point,
+ GdkPoint *view_point);
+void _ev_view_transform_doc_rect_to_view_rect (EvView *view,
+ int page,
+ EvRectangle *doc_rect,
+ GdkRectangle *view_rect);
#endif /* __EV_VIEW_PRIVATE_H__ */