LayOut C API
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
rectangle.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_RECTANGLE_H_
5 #define LAYOUT_MODEL_RECTANGLE_H_
6 
7 #include <LayOutAPI/common.h>
9 #include <LayOutAPI/model/defs.h>
10 
20 typedef enum {
24 
26 
29 
30 #ifdef __cplusplus
31 extern "C" {
32 #endif // __cplusplus
33 
46 
61  LORectangleRef* rectangle, const LOAxisAlignedRect2D* bounds, double corner_radius);
89  LORectangleRef* rectangle, const LOAxisAlignedRect2D* bounds, double bulge_distance);
90 
99 
110 
121 
131 
144 
157 
170 
183 
194 
207 
220 LO_RESULT LORectangleGetRadius(LORectangleRef rectangle, double* radius);
221 
235 LO_RESULT LORectangleSetRadius(LORectangleRef rectangle, double radius);
236 
237 #ifdef __cplusplus
238 } // end extern "C"
239 #endif // __cplusplus
240 #endif // LAYOUT_MODEL_RECTANGLE_H_