blob: fe7ae4cad055d7cc0f7ca0e267c96bebdb89b75e [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
[email protected]35cf6cd2014-03-27 18:29:018namespace printing {
9
10enum PwgRasterTransformType {
11 TRANSFORM_NORMAL,
12 TRANSFORM_ROTATE_180,
13 TRANSFORM_FLIP_HORIZONTAL,
anujk.sharma098510bfb2014-10-09 17:25:2514 TRANSFORM_FLIP_VERTICAL,
15 TRANSFORM_TYPE_LAST = TRANSFORM_FLIP_VERTICAL
[email protected]35cf6cd2014-03-27 18:29:0116};
17
18struct PwgRasterSettings {
19 // How to transform odd-numbered pages.
20 PwgRasterTransformType odd_page_transform;
21 // Rotate all pages (on top of odd-numbered page transform).
22 bool rotate_all_pages;
23 // Rasterize pages in reverse order.
24 bool reverse_page_order;
Lei Zhangfca5daf12017-12-16 05:52:5625 // Rasterize pages in color.
26 bool use_color;
[email protected]35cf6cd2014-03-27 18:29:0127};
28
29} // namespace printing
30
Lei Zhang5d836a52017-09-20 18:50:5131#endif // PRINTING_PWG_RASTER_SETTINGS_H_