| // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| #ifndef PRINTING_PDF_RENDER_SETTINGS_H_ |
| #define PRINTING_PDF_RENDER_SETTINGS_H_ |
| #include "build/build_config.h" |
| #include "ui/gfx/geometry/point.h" |
| #include "ui/gfx/geometry/rect.h" |
| #include "ui/gfx/geometry/size.h" |
| // Defining PDF rendering settings. |
| struct PdfRenderSettings { |
| LAST = POSTSCRIPT_LEVEL3, |
| : autorotate(false), use_color(true), mode(Mode::NORMAL) {} |
| PdfRenderSettings(const gfx::Rect& area, |
| const gfx::Point& offsets, |
| #endif // PRINTING_PDF_RENDER_SETTINGS_H_ |