LayOut C API
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
lineardimension.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_LINEARDIMENSION_H_
5 #define LAYOUT_MODEL_LINEARDIMENSION_H_
6 
7 #include <LayOutAPI/common.h>
9 #include <LayOutAPI/model/defs.h>
10 
30 #ifdef __cplusplus
31 extern "C" {
32 #endif // __cplusplus
33 
38 typedef enum {
45 
51 typedef enum {
57 
74  LOLinearDimensionRef* dimension, const LOPoint2D* start_point, const LOPoint2D* end_point,
75  double height);
76 
98  LOLinearDimensionRef* dimension, const LOPoint2D* start_point, const LOPoint2D* end_point,
99  double height, LOLinearDimensionAlignment alignment);
100 
109 
120 
131 
141 
159  LOLinearDimensionRef dimension, LOEntityListRef entity_list);
160 
173 LO_RESULT LOLinearDimensionGetUsesCustomText(LOLinearDimensionRef dimension, bool* use_custom_text);
174 
188 LO_RESULT LOLinearDimensionSetUsesCustomText(LOLinearDimensionRef dimension, bool use_custom_text);
189 
204  LOLinearDimensionRef dimension, LOFormattedTextRef* text);
205 
219  LOLinearDimensionRef dimension, LOFormattedTextRef text);
220 
231  LOLinearDimensionRef dimension, LOLinearDimensionLeaderLineType* leader_line_type);
232 
248  LOLinearDimensionRef dimension, LOLinearDimensionLeaderLineType leader_line_type);
249 
263  LOLinearDimensionRef dimension, bool* leader_line_visible);
264 
275 LO_RESULT LOLinearDimensionGetUsesAutoScale(LOLinearDimensionRef dimension, bool* use_auto_scale);
276 
288 
299 
313 
324  LOLinearDimensionRef dimension, LOPoint2D* point);
325 
339  LOLinearDimensionRef dimension, LOPoint2D* point);
340 
353 
365 
376 
390 
401 
415 
428 
441 
455 
469 
488  LOLinearDimensionRef dimension, LOConnectionPointRef start_point,
489  LOConnectionPointRef end_point);
490 
503 
504 #ifdef __cplusplus
505 } // end extern "C"
506 #endif // __cplusplus
507 
508 #endif // LAYOUT_MODEL_LINEARDIMENSION_H_