X-Git-Url: https://git.donarmstrong.com/?p=xournal.git;a=blobdiff_plain;f=src%2Fxo-print.h;fp=src%2Fxo-print.h;h=498be84f0053b5d0a45404ec2effcf75af8fc5d2;hp=95a96f7e826b36d62e72ceb83a4cfad5d9dc9feb;hb=bc1db27c7eef7de6d5097a5e708d2de540d35b88;hpb=dbcc72baab610c58a36586f75b7ce7e17a0d4f41 diff --git a/src/xo-print.h b/src/xo-print.h index 95a96f7..498be84 100644 --- a/src/xo-print.h +++ b/src/xo-print.h @@ -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