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.
5 #ifndef PRINTING_BITMAP_TRANSFORM_SETTINGS_H_
6 #define PRINTING_BITMAP_TRANSFORM_SETTINGS_H_
10 enum PwgRasterTransformType
{
13 TRANSFORM_FLIP_HORIZONTAL
,
14 TRANSFORM_FLIP_VERTICAL
,
15 TRANSFORM_TYPE_LAST
= TRANSFORM_FLIP_VERTICAL
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
;
27 } // namespace printing
29 #endif // PRINTING_BITMAP_TRANSFORM_SETTINGS_H_