blob: b1c3709550c8e7d6e585730e88eded644c66b8a3 [file] [log] [blame]
[email protected]35cf6cd2014-03-27 18:29:011// Copyright 2014 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.
4
Lei Zhang5d836a52017-09-20 18:50:515#ifndef PRINTING_PWG_RASTER_SETTINGS_H_
6#define PRINTING_PWG_RASTER_SETTINGS_H_
[email protected]35cf6cd2014-03-27 18:29:017
Lei Zhange6d47282019-02-07 03:49:528#include "printing/print_job_constants.h"
9
[email protected]35cf6cd2014-03-27 18:29:0110namespace printing {
11
12enum PwgRasterTransformType {
13 TRANSFORM_NORMAL,
14 TRANSFORM_ROTATE_180,
15 TRANSFORM_FLIP_HORIZONTAL,
anujk.sharma098510bfb2014-10-09 17:25:2516 TRANSFORM_FLIP_VERTICAL,
17 TRANSFORM_TYPE_LAST = TRANSFORM_FLIP_VERTICAL
[email protected]35cf6cd2014-03-27 18:29:0118};
19
20struct PwgRasterSettings {
Lei Zhange6d47282019-02-07 03:49:5221 DuplexMode duplex_mode;
[email protected]35cf6cd2014-03-27 18:29:0122 // How to transform odd-numbered pages.
23 PwgRasterTransformType odd_page_transform;
24 // Rotate all pages (on top of odd-numbered page transform).
25 bool rotate_all_pages;
26 // Rasterize pages in reverse order.
27 bool reverse_page_order;
Lei Zhangfca5daf12017-12-16 05:52:5628 // Rasterize pages in color.
29 bool use_color;
[email protected]35cf6cd2014-03-27 18:29:0130};
31
32} // namespace printing
33
Lei Zhang5d836a52017-09-20 18:50:5134#endif // PRINTING_PWG_RASTER_SETTINGS_H_