1 // Copyright 2014 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_PWG_RASTER_SETTINGS_H_
6 #define PRINTING_PWG_RASTER_SETTINGS_H_
8 #include "printing/mojom/print.mojom.h"
9 #include "printing/print_job_constants.h"
13 enum PwgRasterTransformType {
16 TRANSFORM_FLIP_HORIZONTAL,
17 TRANSFORM_FLIP_VERTICAL,
18 TRANSFORM_TYPE_LAST = TRANSFORM_FLIP_VERTICAL
21 struct PwgRasterSettings {
22 mojom::DuplexMode duplex_mode;
23 // How to transform odd-numbered pages.
24 PwgRasterTransformType odd_page_transform;
25 // Rotate all pages (on top of odd-numbered page transform).
26 bool rotate_all_pages;
27 // Rasterize pages in reverse order.
28 bool reverse_page_order;
29 // Rasterize pages in color.
33 } // namespace printing
35 #endif // PRINTING_PWG_RASTER_SETTINGS_H_