Pepper_31_C_interfaces
pp_print_settings_dev.h
Go to the documentation of this file.
1 /* Copyright (c) 2012 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 
6 /* From dev/pp_print_settings_dev.idl modified Wed Jun 13 09:14:31 2012. */
7 
8 #ifndef PPAPI_C_DEV_PP_PRINT_SETTINGS_DEV_H_
9 #define PPAPI_C_DEV_PP_PRINT_SETTINGS_DEV_H_
10 
11 #include "ppapi/c/pp_bool.h"
12 #include "ppapi/c/pp_macros.h"
13 #include "ppapi/c/pp_point.h"
14 #include "ppapi/c/pp_rect.h"
15 #include "ppapi/c/pp_size.h"
16 #include "ppapi/c/pp_stdint.h"
17 
18 /**
19  * @file
20  * This file defines the struct for PrintSettings.
21  */
22 
23 
24 /**
25  * @addtogroup Enums
26  * @{
27  */
28 typedef enum {
35 
36 typedef enum {
43 
44 typedef enum {
50 /**
51  * @}
52  */
53 
54 /**
55  * @addtogroup Structs
56  * @{
57  */
59  /** This is the size of the printable area in points (1/72 of an inch). */
63  int32_t dpi;
67  /** Note that Chrome currently only supports PDF printing. */
69 };
71 /**
72  * @}
73  */
74 
75 #endif /* PPAPI_C_DEV_PP_PRINT_SETTINGS_DEV_H_ */
76 
PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_PrintOrientation_Dev, 4)
PP_PrintOrientation_Dev
PP_PrintOutputFormat_Dev
PP_PrintOutputFormat_Dev format
PP_PrintScalingOption_Dev
PP_PrintOrientation_Dev orientation
PP_PrintScalingOption_Dev print_scaling_option
PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_PrintSettings_Dev, 60)
PP_Bool
Definition: pp_bool.h:30