X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=libdocument%2Fev-document-misc.h;h=61d070df035ce7af6d53be8ec05c8adadbcdb8a6;hb=761de5f5ba44cc94c98adf2b68809ea453d6bdfa;hp=b58af18060057ddd77d595ff9619b9feaacd594e;hpb=4ce480dd80453275c10c3b99f988667c2f1bdfff;p=evince.git diff --git a/libdocument/ev-document-misc.h b/libdocument/ev-document-misc.h index b58af180..61d070df 100644 --- a/libdocument/ev-document-misc.h +++ b/libdocument/ev-document-misc.h @@ -19,17 +19,20 @@ * $Id$ */ +#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION) +#error "Only can be included directly." +#endif + #ifndef EV_DOCUMENT_MISC_H #define EV_DOCUMENT_MISC_H +#include #include -#include -#include +#include G_BEGIN_DECLS - GdkPixbuf *ev_document_misc_get_thumbnail_frame (int width, int height, GdkPixbuf *source_pixbuf); @@ -48,6 +51,10 @@ cairo_surface_t *ev_document_misc_surface_rotate_and_scale (cairo_surface_t *sur gint dest_width, gint dest_height, gint dest_rotation); +void ev_document_misc_invert_surface (cairo_surface_t *surface); +void ev_document_misc_invert_pixbuf (GdkPixbuf *pixbuf); + +gdouble ev_document_misc_get_screen_dpi (GdkScreen *screen); G_END_DECLS