LayOut C API
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
imagerep.h
Go to the documentation of this file.
1 // Copyright 2015 Trimble Navigation Ltd. All rights reserved.
2 // This file is intended for public distribution.
3 
4 #ifndef LAYOUT_MODEL_IMAGEREP_H_
5 #define LAYOUT_MODEL_IMAGEREP_H_
6 
7 #include <LayOutAPI/common.h>
8 #include <LayOutAPI/model/defs.h>
9 #include <SketchUpAPI/color.h>
10 
16 typedef enum {
21 
27 #ifdef __cplusplus
28 extern "C" {
29 #endif // __cplusplus
30 
43  size_t* width,
44  size_t* height);
45 
59  double* x_dpi,
60  double* y_dpi);
61 
78  size_t* data_size,
79  size_t* bits_per_pixel);
80 
96  size_t data_size,
97  SUByte pixel_data[]);
98 
111  const char* filename,
112  LOImageRepOutputFormat format);
113 
114 #ifdef __cplusplus
115 } // end extern "C"
116 #endif // __cplusplus
117 
118 #endif // LAYOUT_MODEL_IMAGEREP_H_