Upload upstream chromium 73.0.3683.0
[platform/framework/web/chromium-efl.git] / printing / pwg_raster_settings.h
1 // 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_PWG_RASTER_SETTINGS_H_
6 #define PRINTING_PWG_RASTER_SETTINGS_H_
7
8 namespace printing {
9
10 enum PwgRasterTransformType {
11   TRANSFORM_NORMAL,
12   TRANSFORM_ROTATE_180,
13   TRANSFORM_FLIP_HORIZONTAL,
14   TRANSFORM_FLIP_VERTICAL,
15   TRANSFORM_TYPE_LAST = TRANSFORM_FLIP_VERTICAL
16 };
17
18 struct 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   // Rasterize pages in color.
26   bool use_color;
27 };
28
29 }  // namespace printing
30
31 #endif  // PRINTING_PWG_RASTER_SETTINGS_H_