aayushkumar@chromium.org | 7a9b03e3 | 2011-08-23 19:56:18 | [diff] [blame] | 1 | // Copyright (c) 2011 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_PAGE_SIZE_MARGINS_H_ |
| 6 | #define PRINTING_PAGE_SIZE_MARGINS_H_ |
| 7 | |
dpapad@chromium.org | 61c1046 | 2011-11-15 07:56:18 | [diff] [blame] | 8 | #include "printing/printing_export.h" |
| 9 | |
aayushkumar@chromium.org | 7a9b03e3 | 2011-08-23 19:56:18 | [diff] [blame] | 10 | namespace printing { |
| 11 | |
| 12 | // Struct that holds margin and content area sizes of a page. Units are |
| 13 | // arbitrary and can be chosen by the programmer. |
| 14 | struct PageSizeMargins { |
| 15 | double content_width; |
| 16 | double content_height; |
| 17 | double margin_top; |
| 18 | double margin_right; |
| 19 | double margin_bottom; |
| 20 | double margin_left; |
| 21 | }; |
| 22 | |
| 23 | } // namespace printing |
| 24 | |
| 25 | #endif // PRINTING_PAGE_SIZE_MARGINS_H_ |