blob: 11c65b3e1f18d0766588b5a15a722de7b5dc1d6c [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
Julie Jeongeun Kime454f2602020-04-30 05:20:078#include "printing/mojom/print.mojom.h"
Lei Zhange6d47282019-02-07 03:49:529#include "printing/print_job_constants.h"
10
[email protected]35cf6cd2014-03-27 18:29:0111namespace printing {
12
13enum PwgRasterTransformType {
14 TRANSFORM_NORMAL,
15 TRANSFORM_ROTATE_180,
16 TRANSFORM_FLIP_HORIZONTAL,
anujk.sharma098510bfb2014-10-09 17:25:2517 TRANSFORM_FLIP_VERTICAL,
18 TRANSFORM_TYPE_LAST = TRANSFORM_FLIP_VERTICAL
[email protected]35cf6cd2014-03-27 18:29:0119};
20
21struct PwgRasterSettings {
Julie Jeongeun Kime454f2602020-04-30 05:20:0722 mojom::DuplexMode duplex_mode;
[email protected]35cf6cd2014-03-27 18:29:0123 // 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;
Lei Zhangfca5daf12017-12-16 05:52:5629 // Rasterize pages in color.
30 bool use_color;
[email protected]35cf6cd2014-03-27 18:29:0131};
32
33} // namespace printing
34
Lei Zhang5d836a52017-09-20 18:50:5135#endif // PRINTING_PWG_RASTER_SETTINGS_H_