blob: 9ae2baa33a0da8dc66b54694efe255423a5cb73f [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
5#ifndef PRINTING_BITMAP_TRANSFORM_SETTINGS_H_
6#define PRINTING_BITMAP_TRANSFORM_SETTINGS_H_
7
[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;
25};
26
27} // namespace printing
28
29#endif // PRINTING_BITMAP_TRANSFORM_SETTINGS_H_