scriptup 2024.0.4 → 2024.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. checksums.yaml +4 -4
  2. data/ext/attribute_dictionaries.c +1 -1
  3. data/ext/color.c +3 -3
  4. data/ext/component_definition.c +2 -2
  5. data/ext/definition_list.c +1 -1
  6. data/ext/entity.c +4 -3
  7. data/ext/material.c +4 -7
  8. data/ext/utils.h +4 -4
  9. data/sketchup-sdk-win/binaries/layout/x64/LayOutAPI.dll +0 -0
  10. data/sketchup-sdk-win/binaries/layout/x64/LayOutAPI.lib +0 -0
  11. data/sketchup-sdk-win/binaries/layout/x64/LayOutControllers.dll +0 -0
  12. data/sketchup-sdk-win/binaries/layout/x64/LayOutModel.dll +0 -0
  13. data/sketchup-sdk-win/binaries/layout/x64/LayOutRTF.dll +0 -0
  14. data/sketchup-sdk-win/binaries/layout/x64/LayOutUtils.dll +0 -0
  15. data/sketchup-sdk-win/binaries/layout/x64/SketchUpCommonPreferences.dll +0 -0
  16. data/sketchup-sdk-win/binaries/layout/x64/SketchUpViewerAPI.dll +0 -0
  17. data/sketchup-sdk-win/binaries/layout/x64/SketchUpViewerAPI.lib +0 -0
  18. data/sketchup-sdk-win/binaries/layout/x64/pdflib.dll +0 -0
  19. data/sketchup-sdk-win/headers/LayOutAPI/application/application.h +117 -0
  20. data/sketchup-sdk-win/headers/LayOutAPI/common.h +22 -0
  21. data/sketchup-sdk-win/headers/LayOutAPI/geometry/geometry.h +78 -0
  22. data/sketchup-sdk-win/headers/LayOutAPI/initialize.h +36 -0
  23. data/sketchup-sdk-win/headers/LayOutAPI/layout.h +49 -0
  24. data/sketchup-sdk-win/headers/LayOutAPI/model/angulardimension.h +468 -0
  25. data/sketchup-sdk-win/headers/LayOutAPI/model/autotextdefinition.h +569 -0
  26. data/sketchup-sdk-win/headers/LayOutAPI/model/autotextdefinitionlist.h +79 -0
  27. data/sketchup-sdk-win/headers/LayOutAPI/model/connectionpoint.h +107 -0
  28. data/sketchup-sdk-win/headers/LayOutAPI/model/defs.h +42 -0
  29. data/sketchup-sdk-win/headers/LayOutAPI/model/dictionary.h +120 -0
  30. data/sketchup-sdk-win/headers/LayOutAPI/model/document.h +864 -0
  31. data/sketchup-sdk-win/headers/LayOutAPI/model/documentexportoptions.h +59 -0
  32. data/sketchup-sdk-win/headers/LayOutAPI/model/ellipse.h +78 -0
  33. data/sketchup-sdk-win/headers/LayOutAPI/model/entity.h +330 -0
  34. data/sketchup-sdk-win/headers/LayOutAPI/model/entityiterator.h +49 -0
  35. data/sketchup-sdk-win/headers/LayOutAPI/model/entitylist.h +114 -0
  36. data/sketchup-sdk-win/headers/LayOutAPI/model/formattedtext.h +397 -0
  37. data/sketchup-sdk-win/headers/LayOutAPI/model/grid.h +251 -0
  38. data/sketchup-sdk-win/headers/LayOutAPI/model/group.h +243 -0
  39. data/sketchup-sdk-win/headers/LayOutAPI/model/image.h +146 -0
  40. data/sketchup-sdk-win/headers/LayOutAPI/model/imagerep.h +109 -0
  41. data/sketchup-sdk-win/headers/LayOutAPI/model/label.h +332 -0
  42. data/sketchup-sdk-win/headers/LayOutAPI/model/layer.h +207 -0
  43. data/sketchup-sdk-win/headers/LayOutAPI/model/layerinstance.h +117 -0
  44. data/sketchup-sdk-win/headers/LayOutAPI/model/layerlist.h +69 -0
  45. data/sketchup-sdk-win/headers/LayOutAPI/model/lineardimension.h +456 -0
  46. data/sketchup-sdk-win/headers/LayOutAPI/model/page.h +261 -0
  47. data/sketchup-sdk-win/headers/LayOutAPI/model/pageinfo.h +372 -0
  48. data/sketchup-sdk-win/headers/LayOutAPI/model/pagelist.h +81 -0
  49. data/sketchup-sdk-win/headers/LayOutAPI/model/path.h +464 -0
  50. data/sketchup-sdk-win/headers/LayOutAPI/model/rectangle.h +240 -0
  51. data/sketchup-sdk-win/headers/LayOutAPI/model/referenceentity.h +120 -0
  52. data/sketchup-sdk-win/headers/LayOutAPI/model/sketchupmodel.h +624 -0
  53. data/sketchup-sdk-win/headers/LayOutAPI/model/skpfilereference.h +94 -0
  54. data/sketchup-sdk-win/headers/LayOutAPI/model/style.h +1080 -0
  55. data/sketchup-sdk-win/headers/LayOutAPI/model/table.h +470 -0
  56. data/sketchup-sdk-win/headers/LayOutAPI/model/typed_value.h +156 -0
  57. metadata +50 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f9871b18e42098d2ec1b6cfbee5ac96588e4b0ef4f17d545f428bfda6ec39327
4
- data.tar.gz: 71b6b85079deb4b1db998411ca321b8bb130a916f352e09d93227bd91505d413
3
+ metadata.gz: 7bfb2ee4c449272de70df28c0f673a2f6d3288bd1ca499899839dab5ad774ec1
4
+ data.tar.gz: b63caaa6e708d9cf377f3447ff2e9c50ac006ca0055be7d75ff35fa02f73eea0
5
5
  SHA512:
6
- metadata.gz: 1432395ce8e79fd386c31af579e1e3a6b2793eeb358f010da2fef9ffb859c120fe4ac7eff2cad9f12dcea740f541cd465f66244e4f7cc91fcb37a730cbe3ae14
7
- data.tar.gz: 3cb7f77c6df049ebdc44b98f9e46abb0720a793a4940623f1d5e9ccb6955cd9b6ca6c4c91857c344fd4c82de0c9b1f58110f7efbabbc4df4933cb6efdf996363
6
+ metadata.gz: c986c9d97ea409612e2bc83fed57b52b66cc9dfe8a8681e3c5447d02552dcde03bd9b856bce2f88829c32b635255874bb654ff30803213748c4562f97e557fad
7
+ data.tar.gz: ca1b23690c4a780b99927eed9ee9010b2c164d630bd264d0262936b96e71939226dc0aa263ee53b7c753cd57855d40684d28a7f2c2775802efbf7d52d8bde3ab
@@ -30,7 +30,7 @@ static VALUE Sketchup_AttributeDictionaries_length(VALUE self)
30
30
  SUModelRef model = {DATA_PTR(self)};
31
31
  size_t count;
32
32
  SUModelGetNumAttributeDictionaries(model, &count);
33
- return INT2NUM(count);
33
+ return ULL2NUM(count);
34
34
  }
35
35
 
36
36
  VALUE AttributeDictionaries_Init(VALUE Sketchup, VALUE Sketchup_Entity)
data/ext/color.c CHANGED
@@ -41,20 +41,20 @@ static VALUE Sketchup_Color_names(VALUE self)
41
41
  size_t count = 0;
42
42
  SUColorGetNumNames(&count);
43
43
  SUStringRef* names = malloc(count * sizeof(SUStringRef));
44
- for (int i = 0; i < count; i++)
44
+ for (size_t i = 0; i < count; i++)
45
45
  {
46
46
  names[i].ptr = 0;
47
47
  SUStringCreate(&names[i]);
48
48
  }
49
49
  SUColorGetNames(names, count);
50
50
  VALUE ary = rb_ary_new2(count);
51
- for (int i = 0; i < count; i++)
51
+ for (size_t i = 0; i < count; i++)
52
52
  {
53
53
  VALUE name;
54
54
  GETUTF8FROMSTRING(names[i], name);
55
55
  rb_ary_push(ary, name);
56
56
  }
57
- for (int i = 0; i < count; i++)
57
+ for (size_t i = 0; i < count; i++)
58
58
  {
59
59
  SUStringRelease(&names[i]);
60
60
  }
@@ -61,7 +61,7 @@ static VALUE Sketchup_ComponentDefinition_count_instances(VALUE self)
61
61
  SUComponentDefinitionRef definition = {DATA_PTR(self)};
62
62
  size_t count = 0;
63
63
  SUComponentDefinitionGetNumInstances(definition, &count);
64
- return INT2NUM(count);
64
+ return ULL2NUM(count);
65
65
  }
66
66
 
67
67
  static VALUE Sketchup_ComponentDefinition_count_used_instances(VALUE self)
@@ -69,7 +69,7 @@ static VALUE Sketchup_ComponentDefinition_count_used_instances(VALUE self)
69
69
  SUComponentDefinitionRef definition = {DATA_PTR(self)};
70
70
  size_t count = 0;
71
71
  SUComponentDefinitionGetNumUsedInstances(definition, &count);
72
- return INT2NUM(count);
72
+ return ULL2NUM(count);
73
73
  }
74
74
 
75
75
  static VALUE Sketchup_ComponentDefinition_live_component(VALUE self)
@@ -28,7 +28,7 @@ static VALUE Sketchup_DefinitionList_count(VALUE self)
28
28
  size_t gd_count = 0;
29
29
  SUModelGetNumComponentDefinitions(model, &cd_count);
30
30
  SUModelGetNumGroupDefinitions(model, &gd_count);
31
- return INT2NUM(cd_count + gd_count);
31
+ return ULL2NUM(cd_count + gd_count);
32
32
  }
33
33
 
34
34
  static VALUE Sketchup_DefinitionList_load(VALUE self, VALUE path)
data/ext/entity.c CHANGED
@@ -111,13 +111,13 @@ static VALUE Sketchup_Entity_remove_observer(VALUE self, VALUE observer)
111
111
  return RTEST(result) ? Qtrue : Qfalse;
112
112
  }
113
113
 
114
+ #pragma clang diagnostic push
115
+ #pragma clang diagnostic ignored "-Wcompound-token-split-by-macro"
116
+ #pragma clang diagnostic ignored "-Wunused-but-set-variable"
114
117
  static VALUE Sketchup_Entity_add_observer(VALUE self, VALUE observer)
115
118
  {
116
119
  VALUE observers = Qnil;
117
- #pragma clang diagnostic push
118
- #pragma clang diagnostic ignored "-Wcompound-token-split-by-macro"
119
120
  if (RTEST(rb_ivar_defined(self, rb_intern("@observers"))))
120
- #pragma clang diagnostic pop
121
121
  {
122
122
  observers = rb_iv_get(self, "@observers");
123
123
  }
@@ -129,6 +129,7 @@ static VALUE Sketchup_Entity_add_observer(VALUE self, VALUE observer)
129
129
  rb_hash_aset(self, observer, observer);
130
130
  return Qtrue;
131
131
  }
132
+ #pragma clang diagnostic pop
132
133
 
133
134
  void Sketchup_Entity_attribute_dictionaries_Iterator(SUAttributeDictionaryRef dictionary, VALUE* ary)
134
135
  {
data/ext/material.c CHANGED
@@ -1,6 +1,7 @@
1
1
  #include <stdbool.h>
2
2
  #include <material.h>
3
3
  #include <SketchUpAPI/sketchup.h>
4
+ #include <SketchUpAPI/model/material.h>
4
5
  #include <utils.h>
5
6
 
6
7
  static int GETCOLOR(VALUE obj)
@@ -25,11 +26,6 @@ static float GETALPHA(VALUE obj)
25
26
  return alpha;
26
27
  }
27
28
 
28
- static void dealloc(SUColor* ptr)
29
- {
30
- free(ptr);
31
- }
32
-
33
29
  static VALUE VALUE2COLOR(VALUE obj)
34
30
  {
35
31
  if (rb_obj_is_kind_of(obj, rb_path2class(SKETCHUP_COLOR)))
@@ -54,7 +50,7 @@ static VALUE VALUE2COLOR(VALUE obj)
54
50
  rb_raise(rb_eTypeError, "no implicit conversion to Color");
55
51
  }
56
52
 
57
- static VALUE VALUE2COLORIZATION(VALUE obj)
53
+ static enum SUMaterialColorizeType VALUE2COLORIZATION(VALUE obj)
58
54
  {
59
55
  int colorization = NUM2INT(obj);
60
56
  if (colorization < 0)
@@ -130,7 +126,8 @@ static VALUE Sketchup_Material_Get_color(VALUE self)
130
126
  static VALUE Sketchup_Material_Set_color(VALUE self, VALUE color)
131
127
  {
132
128
  SUMaterialRef material = {DATA_PTR(self)};
133
- VALUE valueColor = VALUE2COLOR(color);
129
+ VALUE2COLOR(color);
130
+ SUMaterialSetColor(material, DATA_PTR(VALUE2COLOR(color)));
134
131
  return color;
135
132
  }
136
133
 
data/ext/utils.h CHANGED
@@ -39,7 +39,7 @@
39
39
  SUGetNum(ref, &num); \
40
40
  SURef* array = malloc(num * sizeof(SURef)); \
41
41
  SUGet(ref, num, array, &num); \
42
- for( int i = 0; i < num; i++) \
42
+ for(size_t i = 0; i < num; i++) \
43
43
  callback(array[i], userdata); \
44
44
  free(array); \
45
45
  }
@@ -48,15 +48,15 @@
48
48
  size_t num; \
49
49
  SUGetNum(ref, &num); \
50
50
  SURef* array = malloc(num * sizeof(SURef)); \
51
- for (int i = 0; i < num; i++) \
51
+ for (size_t i = 0; i < num; i++) \
52
52
  { \
53
53
  array[i].ptr = 0; \
54
54
  SUStringCreate(&array[i]); \
55
55
  } \
56
56
  SUGet(ref, num, array, &num); \
57
- for (int i = 0; i < num; i++) \
57
+ for (size_t i = 0; i < num; i++) \
58
58
  callback(array[i], userdata); \
59
- for (int i = 0; i < num; i++) \
59
+ for (size_t i = 0; i < num; i++) \
60
60
  SUStringRelease(&array[i]); \
61
61
  free(array); \
62
62
  }
@@ -0,0 +1,117 @@
1
+ // Copyright 2014-2022 Trimble Inc. All Rights Reserved.
2
+
3
+ #ifndef LAYOUT_APPLICATION_APPLICATION_H_
4
+ #define LAYOUT_APPLICATION_APPLICATION_H_
5
+
6
+ #include <LayOutAPI/common.h>
7
+ #include <LayOutAPI/model/defs.h>
8
+
9
+
10
+ /**
11
+ @struct LOApplicationRef
12
+ @brief Encapsulates a LayOut application.
13
+ @since LayOut 2018, API 3.0
14
+ */
15
+
16
+ DEFINE_SU_TYPE(LOApplicationRef)
17
+
18
+ #pragma pack(push, 8)
19
+ #ifdef __cplusplus
20
+ extern "C" {
21
+ #endif // __cplusplus
22
+
23
+
24
+ /**
25
+ @brief Gets the application instance.
26
+ @since LayOut 2018, API 3.0
27
+ @param[out] app The application instance.
28
+ @return
29
+ - \ref SU_ERROR_NONE on success
30
+ - \ref SU_ERROR_NO_DATA if we are not running inside an instance of the LayOut
31
+ application
32
+ */
33
+ LO_RESULT LOApplicationGetApplication(LOApplicationRef* app);
34
+
35
+ /**
36
+ @brief Gets a reference to the active document.
37
+ @since LayOut 2018, API 3.0
38
+ @param[in] app The application instance.
39
+ @param[out] document The active document.
40
+ @return
41
+ - \ref SU_ERROR_NONE on success
42
+ - \ref SU_ERROR_INVALID_INPUT if app is not a valid object
43
+ - \ref SU_ERROR_NULL_POINTER_OUTPUT if document is NULL
44
+ */
45
+ LO_RESULT LOApplicationGetActiveDocument(LOApplicationRef app, LODocumentRef* document);
46
+
47
+ /**
48
+ @brief Gets the major/minor version number as a string.
49
+ @since LayOut 2018, API 3.0
50
+ @param[in] app The application instance.
51
+ @param[out] version The current version of the application.
52
+ @return
53
+ - \ref SU_ERROR_NONE on success
54
+ - \ref SU_ERROR_INVALID_INPUT if app is not a valid object
55
+ - \ref SU_ERROR_NULL_POINTER_OUTPUT if version is NULL
56
+ */
57
+ LO_RESULT LOApplicationGetVersion(LOApplicationRef app, SUStringRef* version);
58
+
59
+ /**
60
+ @brief Gets the major/minor version number as an unsigned integer.
61
+ @since LayOut 2018, API 3.0
62
+ @param[in] app The application instance.
63
+ @param[out] version The current version of the application.
64
+ @return
65
+ - \ref SU_ERROR_NONE on success
66
+ - \ref SU_ERROR_INVALID_INPUT if app is not a valid object
67
+ - \ref SU_ERROR_NULL_POINTER_OUTPUT if version is NULL
68
+ */
69
+ LO_RESULT LOApplicationGetVersionNumber(LOApplicationRef app, unsigned int* version);
70
+
71
+ /**
72
+ @brief Gets whether the application is connected to the internet.
73
+ @since LayOut 2018, API 3.0
74
+ @param[in] app The application instance.
75
+ @param[out] is_online True if the application is connected to the internet.
76
+ @return
77
+ - \ref SU_ERROR_NONE on success
78
+ - \ref SU_ERROR_INVALID_INPUT if app is not a valid object
79
+ - \ref SU_ERROR_NULL_POINTER_OUTPUT if is_online is NULL
80
+ */
81
+ LO_RESULT LOApplicationGetOnline(LOApplicationRef app, bool* is_online);
82
+
83
+ /**
84
+ @brief Opens the LayOut document located at the given file path.
85
+ @since LayOut 2018, API 3.0
86
+ @param[in] app The application instance.
87
+ @param[in] file_path The full file path to the .layout document to open.
88
+ @param[out] document A reference to the opened document if successful.
89
+ @return
90
+ - \ref SU_ERROR_NONE on success
91
+ - \ref SU_ERROR_INVALID_INPUT if app is not a valid object
92
+ - \ref SU_ERROR_NULL_POINTER_INPUT if file_path is NULL
93
+ - \ref SU_ERROR_NULL_POINTER_OUTPUT if document is NULL
94
+ - \ref SU_ERROR_SERIALIZATION if the document fails to open
95
+ */
96
+ LO_RESULT LOApplicationOpenDocument(
97
+ LOApplicationRef app, const char* file_path, LODocumentRef* document);
98
+
99
+
100
+ /**
101
+ @brief Quits the application.
102
+ @since LayOut 2018, API 3.0
103
+ @param[in] app The application instance.
104
+ @return
105
+ - \ref SU_ERROR_NONE on success
106
+ - \ref SU_ERROR_INVALID_INPUT if app is not a valid object
107
+ */
108
+ LO_RESULT LOApplicationQuit(LOApplicationRef app);
109
+
110
+
111
+
112
+ #ifdef __cplusplus
113
+ } // extern "C" {
114
+ #endif
115
+ #pragma pack(pop)
116
+
117
+ #endif // LAYOUT_APPLICATION_APPLICATION_H_
@@ -0,0 +1,22 @@
1
+ // Copyright 2015 Trimble Navigation Ltd. All rights reserved.
2
+ // This file is intended for public distribution.
3
+
4
+ #ifndef LAYOUT_COMMON_H_
5
+ #define LAYOUT_COMMON_H_
6
+
7
+ #define LO_EXPORT
8
+ #if (defined WIN32 || defined WIN64) && !defined LO_NO_EXPORTS
9
+ #undef LO_EXPORT
10
+ #ifdef LAYOUT_API_EXPORTS
11
+ #define LO_EXPORT __declspec(dllexport)
12
+ #else
13
+ #define LO_EXPORT __declspec(dllimport)
14
+ #endif // LAYOUT_API_EXPORTS
15
+ #endif // WINDOWS
16
+
17
+ #include <SketchUpAPI/common.h>
18
+ #include <SketchUpAPI/unicodestring.h>
19
+
20
+ #define LO_RESULT LO_EXPORT SUResult
21
+
22
+ #endif // LAYOUT_COMMON_H_
@@ -0,0 +1,78 @@
1
+ // Copyright 2015 Trimble Navigation Ltd., All rights reserved.
2
+ // This file is intended for public distribution.
3
+
4
+ #ifndef LAYOUT_GEOMETRY_GEOMETRY_H_
5
+ #define LAYOUT_GEOMETRY_GEOMETRY_H_
6
+
7
+ #include <SketchUpAPI/geometry.h>
8
+
9
+ #pragma pack(push, 8)
10
+
11
+ /**
12
+ @typedef LOPoint2D
13
+ @brief Represents a point in 2-dimensional paper space.
14
+ */
15
+ typedef SUPoint2D LOPoint2D;
16
+
17
+ /**
18
+ @typedef LOPoint3D
19
+ @brief Represents a point in 3-dimensional model space.
20
+ */
21
+ typedef SUPoint3D LOPoint3D;
22
+
23
+ /**
24
+ @typedef LOVector2D
25
+ @brief Represents a vector in 2-dimensional paper space.
26
+ @since LayOut 2017, API 2.0
27
+ */
28
+ typedef SUVector2D LOVector2D;
29
+
30
+
31
+ /**
32
+ @struct LOAxisAlignedRect2D
33
+ @brief Represents a 2D rectangle that is aligned with the X and Y axis of the
34
+ coordinate system.
35
+ */
36
+ typedef SUAxisAlignedRect2D LOAxisAlignedRect2D;
37
+
38
+ /**
39
+ @struct LOOrientedRect2D
40
+ @brief Represents a 2D rectangle that might be rotated. Each corner of the
41
+ rectangle is represented by a separate 2D point.
42
+ */
43
+ struct LOOrientedRect2D {
44
+ LOPoint2D upper_left;
45
+ LOPoint2D upper_right;
46
+ LOPoint2D lower_right;
47
+ LOPoint2D lower_left;
48
+ };
49
+
50
+ /**
51
+ @struct LOTransformMatrix2D
52
+ @brief 2x3 matrix for representing 2D transforms on LayOut entities. The matrix
53
+ is stored in column-major format:
54
+ <pre>
55
+ m11 m21 tx
56
+ m12 m22 ty
57
+ </pre>
58
+ */
59
+ typedef SUTransformation2D LOTransformMatrix2D;
60
+
61
+ /**
62
+ @typedef LOPoint2D
63
+ @brief Represents a size in 2D space.
64
+ */
65
+ typedef LOPoint2D LOSize2D;
66
+
67
+ /**
68
+ @struct LORect2D
69
+ @brief Represents a 2D rectangle.
70
+ */
71
+ struct LORect2D {
72
+ LOPoint2D origin;
73
+ LOSize2D size;
74
+ };
75
+
76
+ #pragma pack(pop)
77
+
78
+ #endif // LAYOUT_GEOMETRY_GEOMETRY_H_
@@ -0,0 +1,36 @@
1
+ // Copyright 2015 Trimble Navigation Ltd. All Rights Reserved
2
+
3
+ #ifndef LAYOUT_INITIALIZE_H_
4
+ #define LAYOUT_INITIALIZE_H_
5
+
6
+ #include <LayOutAPI/common.h>
7
+
8
+ #ifdef __cplusplus
9
+ extern "C" {
10
+ #endif
11
+
12
+ /**
13
+ @brief Initializes the LayOut C API interface. Must be called before calling any
14
+ other API function.
15
+ */
16
+ LO_EXPORT void LOInitialize();
17
+
18
+ /**
19
+ @brief Signals termination of use of the LayOut C API interface. Must be called
20
+ when done using API functions.
21
+ */
22
+ LO_EXPORT void LOTerminate();
23
+
24
+ /**
25
+ @brief Returns the major and minor API version numbers.
26
+ @param[out] major The major version number retrieved.
27
+ @param[out] minor The minor version number retrieved.
28
+ */
29
+ LO_EXPORT void LOGetAPIVersion(size_t* major, size_t* minor);
30
+
31
+
32
+ #ifdef __cplusplus
33
+ } // extern "C" {
34
+ #endif
35
+
36
+ #endif // LAYOUT_INITIALIZE_H_
@@ -0,0 +1,49 @@
1
+ // Copyright 2015-2022 Trimble Inc. All rights reserved.
2
+ // This file is intended for public distribution.
3
+
4
+ #ifndef LAYOUT_LAYOUT_H_
5
+ #define LAYOUT_LAYOUT_H_
6
+
7
+ /*
8
+ * The purpose of this file is to include all of the files needed to use the
9
+ * C API.
10
+ */
11
+
12
+ #include <LayOutAPI/common.h>
13
+ #include <LayOutAPI/initialize.h>
14
+ #include <LayOutAPI/application/application.h>
15
+ #include <LayOutAPI/geometry/geometry.h>
16
+ #include <LayOutAPI/model/angulardimension.h>
17
+ #include <LayOutAPI/model/autotextdefinition.h>
18
+ #include <LayOutAPI/model/autotextdefinitionlist.h>
19
+ #include <LayOutAPI/model/connectionpoint.h>
20
+ #include <LayOutAPI/model/defs.h>
21
+ #include <LayOutAPI/model/dictionary.h>
22
+ #include <LayOutAPI/model/document.h>
23
+ #include <LayOutAPI/model/documentexportoptions.h>
24
+ #include <LayOutAPI/model/ellipse.h>
25
+ #include <LayOutAPI/model/entity.h>
26
+ #include <LayOutAPI/model/entityiterator.h>
27
+ #include <LayOutAPI/model/entitylist.h>
28
+ #include <LayOutAPI/model/formattedtext.h>
29
+ #include <LayOutAPI/model/grid.h>
30
+ #include <LayOutAPI/model/group.h>
31
+ #include <LayOutAPI/model/image.h>
32
+ #include <LayOutAPI/model/imagerep.h>
33
+ #include <LayOutAPI/model/label.h>
34
+ #include <LayOutAPI/model/layer.h>
35
+ #include <LayOutAPI/model/layerinstance.h>
36
+ #include <LayOutAPI/model/layerlist.h>
37
+ #include <LayOutAPI/model/lineardimension.h>
38
+ #include <LayOutAPI/model/page.h>
39
+ #include <LayOutAPI/model/pageinfo.h>
40
+ #include <LayOutAPI/model/pagelist.h>
41
+ #include <LayOutAPI/model/path.h>
42
+ #include <LayOutAPI/model/rectangle.h>
43
+ #include <LayOutAPI/model/referenceentity.h>
44
+ #include <LayOutAPI/model/sketchupmodel.h>
45
+ #include <LayOutAPI/model/style.h>
46
+ #include <LayOutAPI/model/table.h>
47
+ #include <LayOutAPI/model/typed_value.h>
48
+
49
+ #endif // LAYOUT_LAYOUT_H_