X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=src%2Fxo-misc.h;h=c4342b854e5af2147954c925c675783b5b5cb55e;hb=0c8dfdb035698cc0112a5e7b776709aca11c2f16;hp=5be0c13b647cac31c9e80d4d501e61c486777fbc;hpb=4d39b1b77c637b56b4f094e39328b3394cefa4dc;p=xournal.git diff --git a/src/xo-misc.h b/src/xo-misc.h index 5be0c13..c4342b8 100644 --- a/src/xo-misc.h +++ b/src/xo-misc.h @@ -1,3 +1,18 @@ +/* + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This software is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + // data manipulation misc functions struct Page *new_page(struct Page *template); @@ -107,6 +122,15 @@ void unset_flags(GtkWidget *w, gpointer flag); gboolean intercept_activate_events(GtkWidget *w, GdkEvent *ev, gpointer data); void install_focus_hooks(GtkWidget *w, gpointer data); +// wrapper for a function no longer provided by poppler 0.17+ +void +wrapper_poppler_page_render_to_pixbuf (PopplerPage *page, + int src_x, int src_y, + int src_width, int src_height, + double scale, + int rotation, + GdkPixbuf *pixbuf); + // defines for paper rulings #define RULING_MARGIN_COLOR 0xff0080ff