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 
61  LOLinearDimensionRef* dimension, const LOPoint2D* start_point, const LOPoint2D* end_point,
62  double height);
63 
72 
83 
94 
104 
122  LOLinearDimensionRef dimension, LOEntityListRef entity_list);
123 
136 LO_RESULT LOLinearDimensionGetUsesCustomText(LOLinearDimensionRef dimension, bool* use_custom_text);
137 
151 LO_RESULT LOLinearDimensionSetUsesCustomText(LOLinearDimensionRef dimension, bool use_custom_text);
152 
167  LOLinearDimensionRef dimension, LOFormattedTextRef* text);
168 
182  LOLinearDimensionRef dimension, LOFormattedTextRef text);
183 
194  LOLinearDimensionRef dimension, LOLinearDimensionLeaderLineType* leader_line_type);
195 
211  LOLinearDimensionRef dimension, LOLinearDimensionLeaderLineType leader_line_type);
212 
223 LO_RESULT LOLinearDimensionGetUsesAutoScale(LOLinearDimensionRef dimension, bool* use_auto_scale);
224 
236 
247 
261 
272  LOLinearDimensionRef dimension, LOPoint2D* point);
273 
287  LOLinearDimensionRef dimension, LOPoint2D* point);
288 
301 
313 
324 
338 
349 
363 
376 
389 
403 
417 
436  LOLinearDimensionRef dimension, LOConnectionPointRef start_point,
437  LOConnectionPointRef end_point);
438 
451 
452 #ifdef __cplusplus
453 } // end extern "C"
454 #endif // __cplusplus
455 
456 #endif // LAYOUT_MODEL_LINEARDIMENSION_H_