X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=sidebyside;f=shell%2Fev-jobs.h;h=052319898c7c0223eb755f214252b616a332dc69;hb=f00d7c5897477b0b2bfa7ff7229c443ebb81a855;hp=779c3736dbd9880913dab41e25b7edb80d864f4d;hpb=ca679febd93eef2a4a6afd99cbd7aee8ab537443;p=evince.git diff --git a/shell/ev-jobs.h b/shell/ev-jobs.h index 779c3736..05231989 100644 --- a/shell/ev-jobs.h +++ b/shell/ev-jobs.h @@ -121,18 +121,20 @@ struct _EvJobRender EvRenderContext *rc; gint target_width; gint target_height; - GdkPixbuf *pixbuf; + cairo_surface_t *surface; GList *link_mapping; GdkRegion *text_mapping; GList *image_mapping; + GList *form_field_mapping; - GdkPixbuf *selection; + cairo_surface_t *selection; GdkRegion *selection_region; EvRectangle selection_points; GdkColor base; GdkColor text; + gint include_forms : 1; gint include_links : 1; gint include_text : 1; gint include_selection : 1; @@ -148,9 +150,7 @@ struct _EvJobThumbnail { EvJob parent; - gint page; - gint rotation; - gint requested_width; + EvRenderContext *rc; GdkPixbuf *thumbnail; }; @@ -225,6 +225,7 @@ EvJob *ev_job_render_new (EvDocument *document, EvRectangle *selection_points, GdkColor *text, GdkColor *base, + gboolean include_forms, gboolean include_links, gboolean include_images, gboolean include_text, @@ -233,11 +234,9 @@ void ev_job_render_run (EvJobRender *thumbnail); /* EvJobThumbnail */ GType ev_job_thumbnail_get_type (void) G_GNUC_CONST; -EvJob *ev_job_thumbnail_new (EvDocument *document, - gint page, - int rotation, - gint requested_width); -void ev_job_thumbnail_run (EvJobThumbnail *thumbnail); +EvJob *ev_job_thumbnail_new (EvDocument *document, + EvRenderContext *rc); +void ev_job_thumbnail_run (EvJobThumbnail *thumbnail); /* EvJobFonts */ GType ev_job_fonts_get_type (void) G_GNUC_CONST;