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
22void win32SetupPrinter(GooString *printer, GooString *printOpt, bool duplex, bool setupdlg);
23void win32ShowPrintDialog(bool *expand, bool *noShrink, bool *noCenter, bool *usePDFPageSize, bool *allPages, int *firstPage, int *lastPage, int maxPages);
24cairo_surface_t *win32BeginDocument(GooString *inputFileName, GooString *outputFileName);
25void win32BeginPage(double *w, double *h, bool changePageSize, bool useFullPage);
26void win32EndPage(GooString *imageFileName);
27void win32EndDocument();
28
29#endif // CAIRO_HAS_WIN32_SURFACE
30

source code of poppler/utils/pdftocairo-win32.h