pdftocairo-win32.h 1.19 KB
Newer Older
Albert Astals Cid's avatar
Albert Astals Cid committed
1 2 3 4 5 6 7 8 9 10 11 12
//========================================================================
//
// This file is licensed under the GPLv2 or later
//
// Copyright (C) 2014 Rodrigo Rivas Costa <rodrigorivascosta@gmail.com>
// Copyright (C) 2014 Adrian Johnson <ajohnson@redneon.com>
//
// To see a description of the changes please see the Changelog file that
// came with your tarball or type make ChangeLog if you are building from git
//
//========================================================================

13
#include <cstdint>
14 15 16 17 18 19 20 21 22
#include <cairo.h>
#include "goo/gmem.h"
#include "goo/gtypes.h"
#include "goo/GooString.h"

#ifdef CAIRO_HAS_WIN32_SURFACE

#include <cairo-win32.h>

23 24 25 26 27 28
void win32SetupPrinter(GooString *printer, GooString *printOpt,
		       GBool duplex, GBool setupdlg);
void win32ShowPrintDialog(GBool *expand, GBool *noShrink, GBool *noCenter,
			  GBool *usePDFPageSize, GBool *allPages,
			  int *firstPage, int *lastPage, int maxPages);
cairo_surface_t *win32BeginDocument(GooString *inputFileName, GooString *outputFileName);
29
void win32BeginPage(double *w, double *h, GBool changePageSize, GBool useFullPage);
30 31 32 33
void win32EndPage(GooString *imageFileName);
void win32EndDocument();

#endif // CAIRO_HAS_WIN32_SURFACE