forwarding a radium compilation fix.
[AROS-Contrib.git] / vpdf / poppler_device.h
blob2e4ab78a947701e6bf79605ef640914e57da336c
1 #ifndef POPPLER_DEVICE_H
3 #ifdef USE_SPLASH
4 struct devicecontext
6 PDFDoc *doc;
7 BaseStream *stream;
8 SplashOutputDev *dev;
9 struct searchcontext search;
10 int pagesnum;
11 float documentwidth, documentheight;
13 #else
14 struct devicecontext
16 PDFDoc *doc;
17 BaseStream *stream;
18 CairoOutputDev *dev;
19 cairo_surface_t *surface;
20 TextOutputDev *selection_dev; // cached output device used for selection
21 int selection_pagenum; // last page num used for selection
22 cairo_t *cairo;
23 struct searchcontext search;
24 int pagesnum;
25 float documentwidth, documentheight;
27 #endif
29 #endif