+2007-06-14 Carlos Garcia Campos <carlosgc@gnome.org>
+
+ * shell/ev-view.c: (draw_one_page):
+
+ Draw only visible region.
+
2007-06-13 Carlos Garcia Campos <carlosgc@gnome.org>
* backend/djvu/djvu-document.c: (djvu_document_render):
page_width = cairo_image_surface_get_width (page_surface);
page_height = cairo_image_surface_get_height (page_surface);
-
+
+ cairo_rectangle (cr, overlap.x, overlap.y, overlap.width, overlap.height);
+ cairo_clip (cr);
+
cairo_translate (cr, overlap.x, overlap.y);
if (width != page_width || height != page_height) {
selection_width = cairo_image_surface_get_width (selection_surface);
selection_height = cairo_image_surface_get_height (selection_surface);
+ cairo_rectangle (cr, overlap.x, overlap.y, overlap.width, overlap.height);
+ cairo_clip (cr);
+
cairo_translate (cr, overlap.x, overlap.y);
if (width != selection_width || height != selection_height) {