]> git.donarmstrong.com Git - xournal.git/blobdiff - src/xo-print.h
Image patch
[xournal.git] / src / xo-print.h
index 95a96f7e826b36d62e72ceb83a4cfad5d9dc9feb..498be84f0053b5d0a45404ec2effcf75af8fc5d2 100644 (file)
@@ -60,6 +60,15 @@ typedef struct PdfFont {
   int flags;
 } PdfFont;
 
+typedef struct PdfImage {
+  int n_obj;
+  gboolean has_alpha;
+  int n_obj_smask;              /* only if has_alpha */
+  GdkPixbuf *pixbuf;
+  gboolean used_in_this_page;
+} PdfImage;
+
+
 #define PDFTYPE_CST 0    // intval: true=1, false=0, null=-1
 #define PDFTYPE_INT 1    // intval
 #define PDFTYPE_REAL 2   // realval