Trace LatencyInfo flow event in Display::DrawAndSwap()
[chromium-blink-merge.git] / printing / pwg_raster_settings.h
blob9ae2baa33a0da8dc66b54694efe255423a5cb73f
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_
8 namespace printing {
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
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_