X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=libview%2Fev-pixbuf-cache.h;h=a2c190ad8aee917e353fab9488a6b16eba1c0e30;hb=df408ff0086984d7c067ea31f298c0aad002b2e6;hp=94673c2e083de8d943abb3861d45063ca8211c3d;hpb=139f0ec4a2f5fe022b9a7d5848b5998615f81834;p=evince.git diff --git a/libview/ev-pixbuf-cache.h b/libview/ev-pixbuf-cache.h index 94673c2e..a2c190ad 100644 --- a/libview/ev-pixbuf-cache.h +++ b/libview/ev-pixbuf-cache.h @@ -14,7 +14,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ /* This File is basically an extention of EvView, and is out here just to keep @@ -31,6 +31,7 @@ #include #include +#include G_BEGIN_DECLS @@ -55,25 +56,16 @@ typedef struct _EvPixbufCacheClass EvPixbufCacheClass; GType ev_pixbuf_cache_get_type (void) G_GNUC_CONST; EvPixbufCache *ev_pixbuf_cache_new (GtkWidget *view, - EvDocument *document); + EvDocumentModel *model, + gsize max_size); +void ev_pixbuf_cache_set_max_size (EvPixbufCache *pixbuf_cache, + gsize max_size); void ev_pixbuf_cache_set_page_range (EvPixbufCache *pixbuf_cache, gint start_page, gint end_page, - gint rotation, - gfloat scale, GList *selection_list); cairo_surface_t *ev_pixbuf_cache_get_surface (EvPixbufCache *pixbuf_cache, gint page); -GList *ev_pixbuf_cache_get_link_mapping (EvPixbufCache *pixbuf_cache, - gint page); -GList *ev_pixbuf_cache_get_image_mapping (EvPixbufCache *pixbuf_cache, - gint page); -GdkRegion *ev_pixbuf_cache_get_text_mapping (EvPixbufCache *pixbuf_cache, - gint page); -GList *ev_pixbuf_cache_get_form_field_mapping (EvPixbufCache *pixbuf_cache, - gint page); -GList *ev_pixbuf_cache_get_annots_mapping (EvPixbufCache *pixbuf_cache, - gint page); void ev_pixbuf_cache_clear (EvPixbufCache *pixbuf_cache); void ev_pixbuf_cache_style_changed (EvPixbufCache *pixbuf_cache); void ev_pixbuf_cache_reload_page (EvPixbufCache *pixbuf_cache,