1 | //======================================================================== |
2 | // |
3 | // This file is licensed under the GPLv2 or later |
4 | // |
5 | // Copyright (C) 2014 Rodrigo Rivas Costa <rodrigorivascosta@gmail.com> |
6 | // Copyright (C) 2014 Adrian Johnson <ajohnson@redneon.com> |
7 | // |
8 | // To see a description of the changes please see the Changelog file that |
9 | // came with your tarball or type make ChangeLog if you are building from git |
10 | // |
11 | //======================================================================== |
12 | |
13 | #include <cstdint> |
14 | #include <cairo.h> |
15 | #include "goo/gmem.h" |
16 | #include "goo/GooString.h" |
17 | |
18 | #ifdef CAIRO_HAS_WIN32_SURFACE |
19 | |
20 | # include <cairo-win32.h> |
21 | |
22 | void win32SetupPrinter(GooString *printer, GooString *printOpt, bool duplex, bool setupdlg); |
23 | void win32ShowPrintDialog(bool *expand, bool *noShrink, bool *noCenter, bool *usePDFPageSize, bool *allPages, int *firstPage, int *lastPage, int maxPages); |
24 | cairo_surface_t *win32BeginDocument(GooString *inputFileName, GooString *outputFileName); |
25 | void win32BeginPage(double *w, double *h, bool changePageSize, bool useFullPage); |
26 | void win32EndPage(GooString *imageFileName); |
27 | void win32EndDocument(); |
28 | |
29 | #endif // CAIRO_HAS_WIN32_SURFACE |
30 | |