X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=shell%2Fev-jobs.h;h=a0ef3f4a97fe9468fdcd0ab57f45e513fc5d6ca5;hb=205c689a78e992d1ad3cf9223f7c95bf424dda94;hp=9e4690939349bb4fa84eaec419673eaa8af5c312;hpb=e93b3a265bbc02546d230204402e3f41e83d6ab5;p=evince.git diff --git a/shell/ev-jobs.h b/shell/ev-jobs.h index 9e469093..a0ef3f4a 100644 --- a/shell/ev-jobs.h +++ b/shell/ev-jobs.h @@ -115,11 +115,16 @@ struct _EvJobRender GdkPixbuf *pixbuf; GList *link_mapping; + GdkRegion *text_mapping; GdkPixbuf *selection; + GdkRegion *selection_region; EvRectangle selection_points; + GdkColor base; + GdkColor text; gint include_links : 1; + gint include_text : 1; gint include_selection : 1; }; @@ -133,6 +138,7 @@ struct _EvJobThumbnail EvJob parent; gint page; + gint rotation; gint requested_width; GdkPixbuf *thumbnail; }; @@ -181,7 +187,10 @@ EvJob *ev_job_render_new (EvDocument *document, gint width, gint height, EvRectangle *selection_points, + GdkColor *text, + GdkColor *base, gboolean include_links, + gboolean include_text, gboolean include_selection); void ev_job_render_run (EvJobRender *thumbnail); @@ -189,6 +198,7 @@ void ev_job_render_run (EvJobRender *thumbnail); GType ev_job_thumbnail_get_type (void); EvJob *ev_job_thumbnail_new (EvDocument *document, gint page, + int rotation, gint requested_width); void ev_job_thumbnail_run (EvJobThumbnail *thumbnail);