1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
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 {
24 LAST = POSTSCRIPT_LEVEL3,
31 : autorotate(false), use_color(true), mode(Mode::NORMAL) {}
32 PdfRenderSettings(const gfx::Rect& area,
33 const gfx::Point& offsets,
41 autorotate(autorotate),
44 ~PdfRenderSettings() {}
54 } // namespace printing
56 #endif // PRINTING_PDF_RENDER_SETTINGS_H_