1 // Copyright 2011 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef PRINTING_PDF_RENDER_SETTINGS_H_
6 #define PRINTING_PDF_RENDER_SETTINGS_H_
8 #include "build/build_config.h"
9 #include "ui/gfx/geometry/point.h"
10 #include "ui/gfx/geometry/rect.h"
11 #include "ui/gfx/geometry/size.h"
15 // Defining PDF rendering settings.
16 struct PdfRenderSettings {
23 EMF_WITH_REDUCED_RASTERIZATION,
24 POSTSCRIPT_LEVEL3_WITH_TYPE42_FONTS,
25 LAST = POSTSCRIPT_LEVEL3_WITH_TYPE42_FONTS
32 : autorotate(false), use_color(true), mode(Mode::NORMAL) {}
33 PdfRenderSettings(const gfx::Rect& area,
34 const gfx::Point& offsets,
42 autorotate(autorotate),
45 ~PdfRenderSettings() {}
55 } // namespace printing
57 #endif // PRINTING_PDF_RENDER_SETTINGS_H_