LayOut C API
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
group.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_GROUP_H_
5 #define LAYOUT_MODEL_GROUP_H_
6 
7 #include <LayOutAPI/common.h>
8 #include <LayOutAPI/model/defs.h>
10 
21 #ifdef __cplusplus
22 extern "C" {
23 #endif // __cplusplus
24 
29 typedef enum {
34 
62 
71 
82 
93 
103 
116 
128 
138 LO_RESULT LOGroupGetNumberOfEntities(LOGroupRef group, size_t* num_entities);
139 
152 LO_RESULT LOGroupGetEntityAtIndex(LOGroupRef group, size_t index, LOEntityRef* child_entity);
153 
165 LO_RESULT LOGroupGetScaleFactor(LOGroupRef group, double* scale_factor);
166 
184  LOGroupRef group, double scale_factor, LODocumentUnits units,
185  LOGroupResizeBehaviorType resize_behavior);
186 
201 LO_RESULT LOGroupGetScaleUnits(LOGroupRef group, LODocumentUnits* units, double* precision);
202 
222 LO_RESULT LOGroupSetScaleUnits(LOGroupRef group, LODocumentUnits units, double precision);
223 
238 
239 #ifdef __cplusplus
240 } // end extern C
241 #endif // __cplusplus
242 
243 #endif // LAYOUT_MODEL_GROUP_H_