1 #ifndef __SP_PIXBUF_OPS_H__
2 #define __SP_PIXBUF_OPS_H__
4 /*
5 * Helpers for SPItem -> gdk_pixbuf related stuff
6 *
7 * Authors:
8 * John Cliff <simarilius@yahoo.com>
9 *
10 * Copyright (C) 2008 John Cliff
11 *
12 * Released under GNU GPL, read the file 'COPYING' for more information
13 */
15 #include <glib/gtypes.h>
17 struct SPDocument;
19 bool sp_export_jpg_file (SPDocument *doc, gchar const *filename, double x0, double y0, double x1, double y1,
20 unsigned int width, unsigned int height, double xdpi, double ydpi, unsigned long bgcolor, double quality, GSList *items_only = NULL);
22 GdkPixbuf* sp_generate_internal_bitmap(SPDocument *doc, gchar const *filename,
23 double x0, double y0, double x1, double y1,
24 unsigned width, unsigned height, double xdpi, double ydpi,
25 unsigned long bgcolor, GSList *items_only = NULL);
27 #endif