projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add support for PNG images in .spv files.
[pspp]
/
src
/
output
/
spv
/
spv-writer.h
diff --git
a/src/output/spv/spv-writer.h
b/src/output/spv/spv-writer.h
index 94c70f718503900aa0ea64bb91fc4c69fa6d0f08..4126a8606db273dc200277af3f870a1a305dc290 100644
(file)
--- a/
src/output/spv/spv-writer.h
+++ b/
src/output/spv/spv-writer.h
@@
-22,6
+22,10
@@
struct pivot_table;
struct spv_writer;
struct text_item;
struct spv_writer;
struct text_item;
+#ifdef HAVE_CAIRO
+#include <cairo.h>
+#endif
+
#include "libpspp/compiler.h"
char *spv_writer_open (const char *filename, struct spv_writer **)
#include "libpspp/compiler.h"
char *spv_writer_open (const char *filename, struct spv_writer **)
@@
-39,6
+43,10
@@
void spv_writer_put_text (struct spv_writer *, const struct text_item *,
const char *command_id);
void spv_writer_put_table (struct spv_writer *, const struct pivot_table *);
const char *command_id);
void spv_writer_put_table (struct spv_writer *, const struct pivot_table *);
+#ifdef HAVE_CAIRO
+void spv_writer_put_image (struct spv_writer *, cairo_surface_t *);
+#endif
+
void spv_writer_eject_page (struct spv_writer *);
#endif /* output/spv/spv-writer.h */
void spv_writer_eject_page (struct spv_writer *);
#endif /* output/spv/spv-writer.h */