scriptup 2026.0.1 → 2026.0.2

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 (501) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +43 -24
  3. data/ext/arc_curve.c +50 -0
  4. data/ext/attribute_dictionaries.c +49 -32
  5. data/ext/attribute_dictionary.c +54 -127
  6. data/ext/axes.c +79 -0
  7. data/ext/behavior.c +100 -9
  8. data/ext/bounding_box.c +195 -0
  9. data/ext/camera.c +178 -0
  10. data/ext/classifications.c +85 -0
  11. data/ext/color.c +91 -163
  12. data/ext/component_definition.c +78 -162
  13. data/ext/component_instance.c +88 -9
  14. data/ext/construction.c +59 -0
  15. data/ext/curve.c +87 -0
  16. data/ext/definition_list.c +89 -109
  17. data/ext/depend +1 -0
  18. data/ext/drawing_element.c +96 -117
  19. data/ext/edge.c +147 -0
  20. data/ext/edge_use.c +37 -0
  21. data/ext/entities.c +573 -16
  22. data/ext/entities_builder.c +145 -0
  23. data/ext/entity.c +175 -215
  24. data/ext/environments.c +149 -0
  25. data/ext/extconf.rb +54 -10
  26. data/ext/face.c +331 -0
  27. data/ext/geom.c +172 -0
  28. data/ext/group.c +86 -0
  29. data/ext/helpers.c +244 -0
  30. data/ext/image.c +182 -0
  31. data/ext/image_rep.c +158 -0
  32. data/ext/instance_path.c +185 -0
  33. data/ext/lat_long.c +88 -0
  34. data/ext/layer.c +98 -0
  35. data/ext/layer_folder.c +99 -0
  36. data/ext/layers.c +122 -0
  37. data/ext/length.c +253 -0
  38. data/ext/line_styles.c +60 -0
  39. data/ext/loop.c +24 -0
  40. data/ext/material.c +144 -197
  41. data/ext/materials.c +49 -60
  42. data/ext/model.c +232 -26
  43. data/ext/options_store.c +188 -0
  44. data/ext/page.c +168 -0
  45. data/ext/pages.c +135 -0
  46. data/ext/point2d.c +195 -0
  47. data/ext/point3d.c +340 -0
  48. data/ext/polygon_mesh.c +253 -0
  49. data/ext/scriptup.h +279 -0
  50. data/ext/section_plane.c +44 -0
  51. data/ext/sketchup.c +102 -76
  52. data/ext/styles.c +91 -0
  53. data/ext/text.c +135 -0
  54. data/ext/texture.c +74 -83
  55. data/ext/texture_writer.c +104 -0
  56. data/ext/transformation.c +309 -0
  57. data/ext/transformation2d.c +190 -0
  58. data/ext/uv_helper.c +41 -0
  59. data/ext/vector2d.c +238 -0
  60. data/ext/vector3d.c +294 -0
  61. data/ext/vertex.c +67 -0
  62. data/lib/sketchup.rb +2 -2
  63. data/sig/_top_level.rbs +188 -0
  64. data/sig/array.rbs +52 -0
  65. data/sig/geom/bounding_box.rbs +28 -0
  66. data/sig/geom/bounds2d.rbs +20 -0
  67. data/sig/geom/lat_long.rbs +13 -0
  68. data/sig/geom/oriented_bounds2d.rbs +10 -0
  69. data/sig/geom/point2d.rbs +32 -0
  70. data/sig/geom/point3d.rbs +46 -0
  71. data/sig/geom/polygon_mesh.rbs +35 -0
  72. data/sig/geom/transformation.rbs +44 -0
  73. data/sig/geom/transformation2d.rbs +26 -0
  74. data/sig/geom/utm.rbs +14 -0
  75. data/sig/geom/vector2d.rbs +40 -0
  76. data/sig/geom/vector3d.rbs +49 -0
  77. data/sig/geom.rbs +25 -0
  78. data/sig/language_handler.rbs +8 -0
  79. data/sig/layout/angular_dimension.rbs +32 -0
  80. data/sig/layout/auto_text_definition.rbs +73 -0
  81. data/sig/layout/auto_text_definitions.rbs +15 -0
  82. data/sig/layout/connection_point.rbs +6 -0
  83. data/sig/layout/dictionary.rbs +18 -0
  84. data/sig/layout/document.rbs +61 -0
  85. data/sig/layout/ellipse.rbs +5 -0
  86. data/sig/layout/entities.rbs +10 -0
  87. data/sig/layout/entity.rbs +28 -0
  88. data/sig/layout/formatted_text.rbs +30 -0
  89. data/sig/layout/grid.rbs +24 -0
  90. data/sig/layout/group.rbs +17 -0
  91. data/sig/layout/image.rbs +7 -0
  92. data/sig/layout/label.rbs +31 -0
  93. data/sig/layout/layer.rbs +21 -0
  94. data/sig/layout/layer_instance.rbs +9 -0
  95. data/sig/layout/layers.rbs +18 -0
  96. data/sig/layout/linear_dimension.rbs +39 -0
  97. data/sig/layout/locked_entity_error.rbs +4 -0
  98. data/sig/layout/locked_layer_error.rbs +4 -0
  99. data/sig/layout/page.rbs +20 -0
  100. data/sig/layout/page_info.rbs +37 -0
  101. data/sig/layout/pages.rbs +17 -0
  102. data/sig/layout/path.rbs +34 -0
  103. data/sig/layout/rectangle.rbs +15 -0
  104. data/sig/layout/reference_entity.rbs +7 -0
  105. data/sig/layout/sketch_up_model.rbs +54 -0
  106. data/sig/layout/style.rbs +150 -0
  107. data/sig/layout/table.rbs +17 -0
  108. data/sig/layout/table_cell.rbs +13 -0
  109. data/sig/layout/table_column.rbs +10 -0
  110. data/sig/layout/table_row.rbs +10 -0
  111. data/sig/layout.rbs +4 -0
  112. data/sig/length.rbs +37 -0
  113. data/sig/numeric.rbs +23 -0
  114. data/sig/sketchup/animation.rbs +8 -0
  115. data/sig/sketchup/app_observer.rbs +11 -0
  116. data/sig/sketchup/arc_curve.rbs +14 -0
  117. data/sig/sketchup/attribute_dictionaries.rbs +11 -0
  118. data/sig/sketchup/attribute_dictionary.rbs +18 -0
  119. data/sig/sketchup/axes.rbs +13 -0
  120. data/sig/sketchup/behavior.rbs +19 -0
  121. data/sig/sketchup/camera.rbs +33 -0
  122. data/sig/sketchup/classification_schema.rbs +8 -0
  123. data/sig/sketchup/classifications.rbs +12 -0
  124. data/sig/sketchup/color.rbs +22 -0
  125. data/sig/sketchup/component_definition.rbs +43 -0
  126. data/sig/sketchup/component_instance.rbs +32 -0
  127. data/sig/sketchup/console.rbs +8 -0
  128. data/sig/sketchup/construction_line.rbs +17 -0
  129. data/sig/sketchup/construction_point.rbs +5 -0
  130. data/sig/sketchup/curve.rbs +13 -0
  131. data/sig/sketchup/definition_list.rbs +26 -0
  132. data/sig/sketchup/definition_observer.rbs +6 -0
  133. data/sig/sketchup/definitions_observer.rbs +8 -0
  134. data/sig/sketchup/dimension.rbs +18 -0
  135. data/sig/sketchup/dimension_linear.rbs +24 -0
  136. data/sig/sketchup/dimension_observer.rbs +5 -0
  137. data/sig/sketchup/dimension_radial.rbs +9 -0
  138. data/sig/sketchup/drawingelement.rbs +18 -0
  139. data/sig/sketchup/edge.rbs +24 -0
  140. data/sig/sketchup/edge_use.rbs +13 -0
  141. data/sig/sketchup/entities.rbs +61 -0
  142. data/sig/sketchup/entities_builder.rbs +15 -0
  143. data/sig/sketchup/entities_observer.rbs +9 -0
  144. data/sig/sketchup/entity.rbs +21 -0
  145. data/sig/sketchup/entity_observer.rbs +6 -0
  146. data/sig/sketchup/environment.rbs +25 -0
  147. data/sig/sketchup/environments.rbs +18 -0
  148. data/sig/sketchup/environments_observer.rbs +8 -0
  149. data/sig/sketchup/extensions_manager.rbs +11 -0
  150. data/sig/sketchup/face.rbs +44 -0
  151. data/sig/sketchup/frame_change_observer.rbs +5 -0
  152. data/sig/sketchup/group.rbs +38 -0
  153. data/sig/sketchup/http/request.rbs +17 -0
  154. data/sig/sketchup/http/response.rbs +7 -0
  155. data/sig/sketchup/http.rbs +27 -0
  156. data/sig/sketchup/image.rbs +23 -0
  157. data/sig/sketchup/image_rep.rbs +17 -0
  158. data/sig/sketchup/importer.rbs +14 -0
  159. data/sig/sketchup/input_point.rbs +25 -0
  160. data/sig/sketchup/instance_observer.rbs +6 -0
  161. data/sig/sketchup/instance_path.rbs +20 -0
  162. data/sig/sketchup/layer.rbs +20 -0
  163. data/sig/sketchup/layer_folder.rbs +26 -0
  164. data/sig/sketchup/layers.rbs +30 -0
  165. data/sig/sketchup/layers_observer.rbs +13 -0
  166. data/sig/sketchup/licensing/extension_license.rbs +8 -0
  167. data/sig/sketchup/licensing.rbs +15 -0
  168. data/sig/sketchup/line_style.rbs +5 -0
  169. data/sig/sketchup/line_styles.rbs +13 -0
  170. data/sig/sketchup/load_handler.rbs +8 -0
  171. data/sig/sketchup/loop.rbs +10 -0
  172. data/sig/sketchup/material.rbs +74 -0
  173. data/sig/sketchup/materials.rbs +22 -0
  174. data/sig/sketchup/materials_observer.rbs +10 -0
  175. data/sig/sketchup/menu.rbs +9 -0
  176. data/sig/sketchup/model.rbs +105 -0
  177. data/sig/sketchup/model_observer.rbs +23 -0
  178. data/sig/sketchup/options_manager.rbs +12 -0
  179. data/sig/sketchup/options_provider.rbs +23 -0
  180. data/sig/sketchup/options_provider_observer.rbs +5 -0
  181. data/sig/sketchup/overlay.rbs +21 -0
  182. data/sig/sketchup/overlays_manager.rbs +10 -0
  183. data/sig/sketchup/page.rbs +55 -0
  184. data/sig/sketchup/pages.rbs +25 -0
  185. data/sig/sketchup/pages_observer.rbs +7 -0
  186. data/sig/sketchup/pick_helper.rbs +28 -0
  187. data/sig/sketchup/regional_settings.rbs +7 -0
  188. data/sig/sketchup/rendering_options.rbs +89 -0
  189. data/sig/sketchup/rendering_options_observer.rbs +5 -0
  190. data/sig/sketchup/section_plane.rbs +12 -0
  191. data/sig/sketchup/selection.rbs +31 -0
  192. data/sig/sketchup/selection_observer.rbs +8 -0
  193. data/sig/sketchup/set.rbs +15 -0
  194. data/sig/sketchup/shadow_info.rbs +18 -0
  195. data/sig/sketchup/shadow_info_observer.rbs +5 -0
  196. data/sig/sketchup/skp.rbs +5 -0
  197. data/sig/sketchup/snap.rbs +10 -0
  198. data/sig/sketchup/style.rbs +9 -0
  199. data/sig/sketchup/styles.rbs +21 -0
  200. data/sig/sketchup/text.rbs +22 -0
  201. data/sig/sketchup/texture.rbs +14 -0
  202. data/sig/sketchup/texture_writer.rbs +14 -0
  203. data/sig/sketchup/tool.rbs +45 -0
  204. data/sig/sketchup/tools.rbs +14 -0
  205. data/sig/sketchup/tools_observer.rbs +6 -0
  206. data/sig/sketchup/uv_helper.rbs +6 -0
  207. data/sig/sketchup/vertex.rbs +11 -0
  208. data/sig/sketchup/view.rbs +87 -0
  209. data/sig/sketchup/view_observer.rbs +6 -0
  210. data/sig/sketchup.rbs +137 -0
  211. data/sig/sketchup_extension.rbs +23 -0
  212. data/sig/string.rbs +5 -0
  213. data/sig/ui/command.rbs +20 -0
  214. data/sig/ui/html_dialog.rbs +29 -0
  215. data/sig/ui/notification.rbs +16 -0
  216. data/sig/ui/toolbar.rbs +18 -0
  217. data/sig/ui/web_dialog.rbs +38 -0
  218. data/sig/ui.rbs +66 -0
  219. metadata +204 -287
  220. data/ext/attribute_dictionaries.h +0 -8
  221. data/ext/attribute_dictionary.h +0 -8
  222. data/ext/behavior.h +0 -8
  223. data/ext/color.h +0 -8
  224. data/ext/component_definition.h +0 -8
  225. data/ext/component_instance.h +0 -8
  226. data/ext/definition_list.h +0 -8
  227. data/ext/drawing_element.h +0 -8
  228. data/ext/entities.h +0 -8
  229. data/ext/entity.h +0 -8
  230. data/ext/material.h +0 -8
  231. data/ext/materials.h +0 -8
  232. data/ext/model.h +0 -8
  233. data/ext/not_implemented.c +0 -88
  234. data/ext/not_implemented.h +0 -20
  235. data/ext/sketchup.h +0 -9
  236. data/ext/texture.h +0 -8
  237. data/ext/typed_value.c +0 -84
  238. data/ext/typed_value.h +0 -11
  239. data/ext/utils.h +0 -111
  240. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Frameworks/libCommonGeometry.dylib +0 -0
  241. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Frameworks/libCommonGeoutils.dylib +0 -0
  242. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Frameworks/libCommonImage.dylib +0 -4
  243. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Frameworks/libCommonPreferences.dylib +0 -0
  244. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Frameworks/libCommonUnits.dylib +0 -0
  245. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Frameworks/libCommonUtils.dylib +0 -0
  246. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Frameworks/libCommonZip.dylib +0 -0
  247. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/application/application.h +0 -36
  248. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/application/model.h +0 -59
  249. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/application/overlay.h +0 -262
  250. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/application/ruby_api.h +0 -118
  251. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/color.h +0 -107
  252. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/common.h +0 -178
  253. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/defs.h +0 -19
  254. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/extension_license.h +0 -70
  255. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry/bounding_box.h +0 -34
  256. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry/plane3d.h +0 -153
  257. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry/point2d.h +0 -96
  258. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry/point3d.h +0 -98
  259. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry/ray3d.h +0 -64
  260. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry/transformation.h +0 -321
  261. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry/transformation2d.h +0 -163
  262. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry/vector2d.h +0 -235
  263. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry/vector3d.h +0 -285
  264. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry.h +0 -154
  265. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/import_export/modelexporterplugin.h +0 -165
  266. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/import_export/modelimporterplugin.h +0 -187
  267. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/import_export/pluginprogresscallback.h +0 -84
  268. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/initialize.h +0 -43
  269. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/length_formatter.h +0 -424
  270. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/arccurve.h +0 -244
  271. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/arrow_type.h +0 -17
  272. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/attribute_dictionary.h +0 -161
  273. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/axes.h +0 -242
  274. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/camera.h +0 -398
  275. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/classification_attribute.h +0 -89
  276. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/classification_info.h +0 -125
  277. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/classifications.h +0 -86
  278. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/component_definition.h +0 -629
  279. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/component_definition_snap_to_behavior_private.h +0 -46
  280. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/component_instance.h +0 -344
  281. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/curve.h +0 -143
  282. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/defs.h +0 -147
  283. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/dimension.h +0 -224
  284. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/dimension_linear.h +0 -421
  285. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/dimension_radial.h +0 -194
  286. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/dimension_style.h +0 -253
  287. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/drawing_element.h +0 -198
  288. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/dynamic_component_attribute.h +0 -92
  289. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/dynamic_component_info.h +0 -70
  290. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/edge.h +0 -271
  291. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/edge_use.h +0 -214
  292. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/entities.h +0 -879
  293. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/entity.h +0 -189
  294. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/entity_list.h +0 -80
  295. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/entity_list_iterator.h +0 -90
  296. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/environment.h +0 -382
  297. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/environments.h +0 -133
  298. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/face.h +0 -702
  299. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/font.h +0 -138
  300. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/geometry.h +0 -20
  301. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/geometry_input.h +0 -695
  302. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/group.h +0 -245
  303. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/guide_line.h +0 -155
  304. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/guide_point.h +0 -153
  305. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/image.h +0 -289
  306. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/image_rep.h +0 -275
  307. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/instancepath.h +0 -266
  308. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/layer.h +0 -265
  309. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/layer_folder.h +0 -301
  310. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/line_style.h +0 -211
  311. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/line_styles.h +0 -81
  312. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/location.h +0 -65
  313. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/loop.h +0 -182
  314. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/material.h +0 -797
  315. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/mesh_helper.h +0 -187
  316. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/model.h +0 -1826
  317. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/model_entity_type_private.h +0 -44
  318. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/model_version.h +0 -49
  319. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/opening.h +0 -72
  320. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/options_manager.h +0 -79
  321. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/options_provider.h +0 -166
  322. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/polyline3d.h +0 -140
  323. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/rendering_options.h +0 -180
  324. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/scene.h +0 -1016
  325. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/schema.h +0 -56
  326. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/schema_type.h +0 -26
  327. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/section_plane.h +0 -212
  328. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/selection.h +0 -156
  329. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/shadow_info.h +0 -147
  330. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/skp.h +0 -45
  331. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/snap.h +0 -183
  332. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/space.h +0 -26
  333. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/style.h +0 -303
  334. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/styles.h +0 -192
  335. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/text.h +0 -392
  336. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/texture.h +0 -380
  337. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/texture_writer.h +0 -280
  338. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/typed_value.h +0 -390
  339. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/uv_helper.h +0 -79
  340. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/vertex.h +0 -154
  341. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/sketchup.h +0 -125
  342. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/sketchup_info.h +0 -65
  343. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/slapi.h +0 -16
  344. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/transformation.h +0 -16
  345. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/unicodestring.h +0 -239
  346. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/utils/math_helpers.h +0 -124
  347. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Resources/Info.plist +0 -50
  348. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/SketchUpAPI +0 -0
  349. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/_CodeSignature/CodeResources +0 -891
  350. data/sketchup-sdk-win/binaries/layout/x64/LayOutAPI.dll +0 -0
  351. data/sketchup-sdk-win/binaries/layout/x64/LayOutAPI.lib +0 -0
  352. data/sketchup-sdk-win/binaries/layout/x64/LayOutControllers.dll +0 -0
  353. data/sketchup-sdk-win/binaries/layout/x64/LayOutModel.dll +0 -0
  354. data/sketchup-sdk-win/binaries/layout/x64/LayOutRTF.dll +0 -0
  355. data/sketchup-sdk-win/binaries/layout/x64/LayOutUtils.dll +0 -0
  356. data/sketchup-sdk-win/binaries/layout/x64/LayOutView.dll +0 -4
  357. data/sketchup-sdk-win/binaries/layout/x64/SketchUpCommonPreferences.dll +0 -0
  358. data/sketchup-sdk-win/binaries/layout/x64/SketchUpViewerAPI.dll +0 -0
  359. data/sketchup-sdk-win/binaries/layout/x64/SketchUpViewerAPI.lib +0 -0
  360. data/sketchup-sdk-win/binaries/layout/x64/pdflib.dll +0 -0
  361. data/sketchup-sdk-win/binaries/sketchup/x64/SketchUpAPI.dll +0 -0
  362. data/sketchup-sdk-win/binaries/sketchup/x64/SketchUpAPI.lib +0 -0
  363. data/sketchup-sdk-win/binaries/sketchup/x64/SketchUpCommonPreferences.dll +0 -0
  364. data/sketchup-sdk-win/binaries/sketchup/x64/sketchup.lib +0 -0
  365. data/sketchup-sdk-win/headers/LayOutAPI/application/application.h +0 -117
  366. data/sketchup-sdk-win/headers/LayOutAPI/common.h +0 -22
  367. data/sketchup-sdk-win/headers/LayOutAPI/geometry/geometry.h +0 -78
  368. data/sketchup-sdk-win/headers/LayOutAPI/initialize.h +0 -36
  369. data/sketchup-sdk-win/headers/LayOutAPI/layout.h +0 -49
  370. data/sketchup-sdk-win/headers/LayOutAPI/model/angulardimension.h +0 -468
  371. data/sketchup-sdk-win/headers/LayOutAPI/model/autotextdefinition.h +0 -569
  372. data/sketchup-sdk-win/headers/LayOutAPI/model/autotextdefinitionlist.h +0 -79
  373. data/sketchup-sdk-win/headers/LayOutAPI/model/connectionpoint.h +0 -107
  374. data/sketchup-sdk-win/headers/LayOutAPI/model/defs.h +0 -42
  375. data/sketchup-sdk-win/headers/LayOutAPI/model/dictionary.h +0 -120
  376. data/sketchup-sdk-win/headers/LayOutAPI/model/document.h +0 -937
  377. data/sketchup-sdk-win/headers/LayOutAPI/model/documentexportoptions.h +0 -78
  378. data/sketchup-sdk-win/headers/LayOutAPI/model/ellipse.h +0 -78
  379. data/sketchup-sdk-win/headers/LayOutAPI/model/entity.h +0 -402
  380. data/sketchup-sdk-win/headers/LayOutAPI/model/entityiterator.h +0 -49
  381. data/sketchup-sdk-win/headers/LayOutAPI/model/entitylist.h +0 -114
  382. data/sketchup-sdk-win/headers/LayOutAPI/model/formattedtext.h +0 -397
  383. data/sketchup-sdk-win/headers/LayOutAPI/model/grid.h +0 -251
  384. data/sketchup-sdk-win/headers/LayOutAPI/model/group.h +0 -244
  385. data/sketchup-sdk-win/headers/LayOutAPI/model/image.h +0 -146
  386. data/sketchup-sdk-win/headers/LayOutAPI/model/imagerep.h +0 -109
  387. data/sketchup-sdk-win/headers/LayOutAPI/model/label.h +0 -332
  388. data/sketchup-sdk-win/headers/LayOutAPI/model/layer.h +0 -207
  389. data/sketchup-sdk-win/headers/LayOutAPI/model/layerinstance.h +0 -117
  390. data/sketchup-sdk-win/headers/LayOutAPI/model/layerlist.h +0 -69
  391. data/sketchup-sdk-win/headers/LayOutAPI/model/lineardimension.h +0 -508
  392. data/sketchup-sdk-win/headers/LayOutAPI/model/page.h +0 -331
  393. data/sketchup-sdk-win/headers/LayOutAPI/model/pageinfo.h +0 -372
  394. data/sketchup-sdk-win/headers/LayOutAPI/model/pagelist.h +0 -81
  395. data/sketchup-sdk-win/headers/LayOutAPI/model/path.h +0 -464
  396. data/sketchup-sdk-win/headers/LayOutAPI/model/rectangle.h +0 -240
  397. data/sketchup-sdk-win/headers/LayOutAPI/model/referenceentity.h +0 -120
  398. data/sketchup-sdk-win/headers/LayOutAPI/model/sketchupmodel.h +0 -681
  399. data/sketchup-sdk-win/headers/LayOutAPI/model/style.h +0 -1116
  400. data/sketchup-sdk-win/headers/LayOutAPI/model/table.h +0 -472
  401. data/sketchup-sdk-win/headers/LayOutAPI/model/typed_value.h +0 -180
  402. data/sketchup-sdk-win/headers/SketchUpAPI/application/application.h +0 -36
  403. data/sketchup-sdk-win/headers/SketchUpAPI/application/model.h +0 -59
  404. data/sketchup-sdk-win/headers/SketchUpAPI/application/overlay.h +0 -262
  405. data/sketchup-sdk-win/headers/SketchUpAPI/application/ruby_api.h +0 -118
  406. data/sketchup-sdk-win/headers/SketchUpAPI/color.h +0 -107
  407. data/sketchup-sdk-win/headers/SketchUpAPI/common.h +0 -178
  408. data/sketchup-sdk-win/headers/SketchUpAPI/defs.h +0 -19
  409. data/sketchup-sdk-win/headers/SketchUpAPI/extension_license.h +0 -70
  410. data/sketchup-sdk-win/headers/SketchUpAPI/geometry/bounding_box.h +0 -34
  411. data/sketchup-sdk-win/headers/SketchUpAPI/geometry/plane3d.h +0 -153
  412. data/sketchup-sdk-win/headers/SketchUpAPI/geometry/point2d.h +0 -96
  413. data/sketchup-sdk-win/headers/SketchUpAPI/geometry/point3d.h +0 -98
  414. data/sketchup-sdk-win/headers/SketchUpAPI/geometry/ray3d.h +0 -64
  415. data/sketchup-sdk-win/headers/SketchUpAPI/geometry/transformation.h +0 -321
  416. data/sketchup-sdk-win/headers/SketchUpAPI/geometry/transformation2d.h +0 -163
  417. data/sketchup-sdk-win/headers/SketchUpAPI/geometry/vector2d.h +0 -235
  418. data/sketchup-sdk-win/headers/SketchUpAPI/geometry/vector3d.h +0 -285
  419. data/sketchup-sdk-win/headers/SketchUpAPI/geometry.h +0 -154
  420. data/sketchup-sdk-win/headers/SketchUpAPI/import_export/modelexporterplugin.h +0 -165
  421. data/sketchup-sdk-win/headers/SketchUpAPI/import_export/modelimporterplugin.h +0 -187
  422. data/sketchup-sdk-win/headers/SketchUpAPI/import_export/pluginprogresscallback.h +0 -84
  423. data/sketchup-sdk-win/headers/SketchUpAPI/initialize.h +0 -43
  424. data/sketchup-sdk-win/headers/SketchUpAPI/length_formatter.h +0 -424
  425. data/sketchup-sdk-win/headers/SketchUpAPI/model/arccurve.h +0 -244
  426. data/sketchup-sdk-win/headers/SketchUpAPI/model/arrow_type.h +0 -17
  427. data/sketchup-sdk-win/headers/SketchUpAPI/model/attribute_dictionary.h +0 -161
  428. data/sketchup-sdk-win/headers/SketchUpAPI/model/axes.h +0 -242
  429. data/sketchup-sdk-win/headers/SketchUpAPI/model/camera.h +0 -398
  430. data/sketchup-sdk-win/headers/SketchUpAPI/model/classification_attribute.h +0 -89
  431. data/sketchup-sdk-win/headers/SketchUpAPI/model/classification_info.h +0 -125
  432. data/sketchup-sdk-win/headers/SketchUpAPI/model/classifications.h +0 -86
  433. data/sketchup-sdk-win/headers/SketchUpAPI/model/component_definition.h +0 -629
  434. data/sketchup-sdk-win/headers/SketchUpAPI/model/component_definition_snap_to_behavior_private.h +0 -46
  435. data/sketchup-sdk-win/headers/SketchUpAPI/model/component_instance.h +0 -344
  436. data/sketchup-sdk-win/headers/SketchUpAPI/model/curve.h +0 -143
  437. data/sketchup-sdk-win/headers/SketchUpAPI/model/defs.h +0 -147
  438. data/sketchup-sdk-win/headers/SketchUpAPI/model/dimension.h +0 -224
  439. data/sketchup-sdk-win/headers/SketchUpAPI/model/dimension_linear.h +0 -421
  440. data/sketchup-sdk-win/headers/SketchUpAPI/model/dimension_radial.h +0 -194
  441. data/sketchup-sdk-win/headers/SketchUpAPI/model/dimension_style.h +0 -253
  442. data/sketchup-sdk-win/headers/SketchUpAPI/model/drawing_element.h +0 -198
  443. data/sketchup-sdk-win/headers/SketchUpAPI/model/dynamic_component_attribute.h +0 -92
  444. data/sketchup-sdk-win/headers/SketchUpAPI/model/dynamic_component_info.h +0 -70
  445. data/sketchup-sdk-win/headers/SketchUpAPI/model/edge.h +0 -271
  446. data/sketchup-sdk-win/headers/SketchUpAPI/model/edge_use.h +0 -214
  447. data/sketchup-sdk-win/headers/SketchUpAPI/model/entities.h +0 -879
  448. data/sketchup-sdk-win/headers/SketchUpAPI/model/entity.h +0 -189
  449. data/sketchup-sdk-win/headers/SketchUpAPI/model/entity_list.h +0 -80
  450. data/sketchup-sdk-win/headers/SketchUpAPI/model/entity_list_iterator.h +0 -90
  451. data/sketchup-sdk-win/headers/SketchUpAPI/model/environment.h +0 -382
  452. data/sketchup-sdk-win/headers/SketchUpAPI/model/environments.h +0 -133
  453. data/sketchup-sdk-win/headers/SketchUpAPI/model/face.h +0 -702
  454. data/sketchup-sdk-win/headers/SketchUpAPI/model/font.h +0 -138
  455. data/sketchup-sdk-win/headers/SketchUpAPI/model/geometry.h +0 -20
  456. data/sketchup-sdk-win/headers/SketchUpAPI/model/geometry_input.h +0 -695
  457. data/sketchup-sdk-win/headers/SketchUpAPI/model/group.h +0 -245
  458. data/sketchup-sdk-win/headers/SketchUpAPI/model/guide_line.h +0 -155
  459. data/sketchup-sdk-win/headers/SketchUpAPI/model/guide_point.h +0 -153
  460. data/sketchup-sdk-win/headers/SketchUpAPI/model/image.h +0 -289
  461. data/sketchup-sdk-win/headers/SketchUpAPI/model/image_rep.h +0 -275
  462. data/sketchup-sdk-win/headers/SketchUpAPI/model/instancepath.h +0 -266
  463. data/sketchup-sdk-win/headers/SketchUpAPI/model/layer.h +0 -265
  464. data/sketchup-sdk-win/headers/SketchUpAPI/model/layer_folder.h +0 -301
  465. data/sketchup-sdk-win/headers/SketchUpAPI/model/line_style.h +0 -211
  466. data/sketchup-sdk-win/headers/SketchUpAPI/model/line_styles.h +0 -81
  467. data/sketchup-sdk-win/headers/SketchUpAPI/model/location.h +0 -65
  468. data/sketchup-sdk-win/headers/SketchUpAPI/model/loop.h +0 -182
  469. data/sketchup-sdk-win/headers/SketchUpAPI/model/material.h +0 -797
  470. data/sketchup-sdk-win/headers/SketchUpAPI/model/mesh_helper.h +0 -187
  471. data/sketchup-sdk-win/headers/SketchUpAPI/model/model.h +0 -1826
  472. data/sketchup-sdk-win/headers/SketchUpAPI/model/model_entity_type_private.h +0 -44
  473. data/sketchup-sdk-win/headers/SketchUpAPI/model/model_version.h +0 -49
  474. data/sketchup-sdk-win/headers/SketchUpAPI/model/opening.h +0 -72
  475. data/sketchup-sdk-win/headers/SketchUpAPI/model/options_manager.h +0 -79
  476. data/sketchup-sdk-win/headers/SketchUpAPI/model/options_provider.h +0 -166
  477. data/sketchup-sdk-win/headers/SketchUpAPI/model/polyline3d.h +0 -140
  478. data/sketchup-sdk-win/headers/SketchUpAPI/model/rendering_options.h +0 -180
  479. data/sketchup-sdk-win/headers/SketchUpAPI/model/scene.h +0 -1016
  480. data/sketchup-sdk-win/headers/SketchUpAPI/model/schema.h +0 -56
  481. data/sketchup-sdk-win/headers/SketchUpAPI/model/schema_type.h +0 -26
  482. data/sketchup-sdk-win/headers/SketchUpAPI/model/section_plane.h +0 -212
  483. data/sketchup-sdk-win/headers/SketchUpAPI/model/selection.h +0 -156
  484. data/sketchup-sdk-win/headers/SketchUpAPI/model/shadow_info.h +0 -147
  485. data/sketchup-sdk-win/headers/SketchUpAPI/model/skp.h +0 -45
  486. data/sketchup-sdk-win/headers/SketchUpAPI/model/snap.h +0 -183
  487. data/sketchup-sdk-win/headers/SketchUpAPI/model/space.h +0 -26
  488. data/sketchup-sdk-win/headers/SketchUpAPI/model/style.h +0 -303
  489. data/sketchup-sdk-win/headers/SketchUpAPI/model/styles.h +0 -192
  490. data/sketchup-sdk-win/headers/SketchUpAPI/model/text.h +0 -392
  491. data/sketchup-sdk-win/headers/SketchUpAPI/model/texture.h +0 -380
  492. data/sketchup-sdk-win/headers/SketchUpAPI/model/texture_writer.h +0 -280
  493. data/sketchup-sdk-win/headers/SketchUpAPI/model/typed_value.h +0 -390
  494. data/sketchup-sdk-win/headers/SketchUpAPI/model/uv_helper.h +0 -79
  495. data/sketchup-sdk-win/headers/SketchUpAPI/model/vertex.h +0 -154
  496. data/sketchup-sdk-win/headers/SketchUpAPI/sketchup.h +0 -125
  497. data/sketchup-sdk-win/headers/SketchUpAPI/sketchup_info.h +0 -65
  498. data/sketchup-sdk-win/headers/SketchUpAPI/slapi.h +0 -16
  499. data/sketchup-sdk-win/headers/SketchUpAPI/transformation.h +0 -16
  500. data/sketchup-sdk-win/headers/SketchUpAPI/unicodestring.h +0 -239
  501. data/sketchup-sdk-win/headers/SketchUpAPI/utils/math_helpers.h +0 -124
@@ -1,78 +0,0 @@
1
- // Copyright 2015-2024 Trimble Inc. All rights reserved.
2
- // This file is intended for public distribution.
3
-
4
- #ifndef LAYOUT_MODEL_DOCUMENTEXPORTOPTIONS_H_
5
- #define LAYOUT_MODEL_DOCUMENTEXPORTOPTIONS_H_
6
-
7
- /**
8
- @brief Dictionary key to use when specifying the file location for export.
9
- */
10
- const char* const LOExportOption_FileLocation = "lo_export_file_location";
11
-
12
- /**
13
- @brief Dictionary key to use when specifying the start page option for
14
- \ref LODocumentExportToPDF or \ref LODocumentExportToImageSet.
15
- */
16
- const char* const LOExportOption_StartPage = "start_page";
17
-
18
- /**
19
- @brief Dictionary key to use when specifying the end page option for
20
- \ref LODocumentExportToPDF or \ref LODocumentExportToImageSet.
21
- */
22
- const char* const LOExportOption_EndPage = "end_page";
23
-
24
- /**
25
- @brief Dictionary key to use when specifying the page range option for
26
- \ref LODocumentExportToPDF or \ref LODocumentExportToImageSet.
27
- The value stored with this key takes precedent over `"start_page"`
28
- and `"end_page"`.
29
- @since LayOut 2024.0, API 9.0
30
- */
31
- const char* const LOExportOption_PageRange = "page_range";
32
-
33
- /**
34
- @brief Dictionary key to use when specifying the page range type option for
35
- \ref LODocumentExportToPDF or \ref LODocumentExportToImageSet.
36
- If this value is set to \ref LOExportPageRangeType_All, then
37
- `"start_page"`, `"end_page"`, and `"page_range"` are ignored. If
38
- not set, or set to \ref LOExportPageRangeType_Range, then those
39
- values will be used as outlined.
40
- @since LayOut 2025.0, API 10.0
41
- */
42
- const char* const LOExportOption_PageRangeType = "page_range_type";
43
-
44
- /**
45
- @brief Dictionary values to use for the \ref LOExportOption_PageRangeType key.
46
- @since LayOut 2025.0, API 10.0
47
- */
48
- const int LOExportPageRangeType_All = 0;
49
- const int LOExportPageRangeType_Range = 1;
50
-
51
- /**
52
- @brief Dictionary key to use when specifying the output resolution option for
53
- \ref LODocumentExportToPDF.
54
- @deprecated This key is deprecated as of 2023.1. Set the output resolution of
55
- images and viewports through the LOPageInfoSetImageOutputResolution
56
- and LOPageInfoSetOutputResolution respectively.
57
- */
58
- const char* const LOExportOption_OutputResolution = "output_resolution";
59
-
60
- /**
61
- @brief Dictionary key to use when specifying the compress images option for
62
- \ref LODocumentExportToPDF.
63
- */
64
- const char* const LOExportOption_CompressImages = "compress_images";
65
-
66
- /**
67
- @brief Dictionary key to use when specifying the image compression quality
68
- option for \ref LODocumentExportToPDF.
69
- */
70
- const char* const LOExportOption_ImageCompressionQuality = "compress_quality";
71
-
72
- /**
73
- @brief Dictionary key to use when specifying the image DPI option for
74
- \ref LODocumentExportToImageSet.
75
- */
76
- const char* const LOExportOption_DPI = "dpi";
77
-
78
- #endif // #define LAYOUT_MODEL_DOCUMENTEXPORTOPTIONS_H_
@@ -1,78 +0,0 @@
1
- // Copyright 2015 Trimble Navigation Ltd. All rights reserved.
2
- // This file is intended for public distribution.
3
-
4
- #ifndef LAYOUT_MODEL_ELLIPSE_H_
5
- #define LAYOUT_MODEL_ELLIPSE_H_
6
-
7
- #include <LayOutAPI/common.h>
8
- #include <LayOutAPI/geometry/geometry.h>
9
- #include <LayOutAPI/model/defs.h>
10
-
11
- /**
12
- @struct LOEllipseRef
13
- @brief References a simple elliptical shape entity.
14
- */
15
-
16
- #ifdef __cplusplus
17
- extern "C" {
18
- #endif // __cplusplus
19
-
20
- /**
21
- @brief Creates a new ellipse entity object.
22
- @param[out] ellipse The newly created ellipse.
23
- @param[in] bounds The bounds of the ellipse.
24
- @return
25
- - \ref SU_ERROR_NONE on success
26
- - \ref SU_ERROR_NULL_POINTER_OUTPUT if ellipse is NULL
27
- - \ref SU_ERROR_OVERWRITE_VALID if *ellipse already refers to a valid object
28
- - \ref SU_ERROR_NULL_POINTER_INPUT if bounds is NULL
29
- - \ref SU_ERROR_OUT_OF_RANGE if bounds are not greater than (0, 0)
30
- */
31
- LO_RESULT LOEllipseCreate(LOEllipseRef* ellipse, const LOAxisAlignedRect2D* bounds);
32
-
33
- /**
34
- @brief Adds a reference to an ellipse object.
35
- @param[in] ellipse The ellipse object.
36
- @return
37
- - \ref SU_ERROR_NONE on success
38
- - \ref SU_ERROR_INVALID_INPUT if ellipse does not refer to a valid object
39
- */
40
- LO_RESULT LOEllipseAddReference(LOEllipseRef ellipse);
41
-
42
- /**
43
- @brief Releases an ellipse object. The object will be invalidated if
44
- releasing the last reference.
45
- @param[in] ellipse The ellipse object.
46
- @return
47
- - \ref SU_ERROR_NONE on success
48
- - \ref SU_ERROR_NULL_POINTER_INPUT if ellipse is NULL
49
- - \ref SU_ERROR_INVALID_INPUT if *ellipse does not refer to a valid object
50
- */
51
- LO_RESULT LOEllipseRelease(LOEllipseRef* ellipse);
52
-
53
- /**
54
- @brief Converts from a \ref LOEntityRef to a \ref LOEllipseRef.
55
- This is essentially a downcast operation so the given \ref LOEntityRef
56
- must be convertible to a \ref LOEllipseRef.
57
- @param[in] entity The entity object.
58
- @return
59
- - The converted \ref LOEllipseRef if the downcast operation succeeds
60
- - If not, the returned reference will be invalid
61
- */
62
- LO_EXPORT LOEllipseRef LOEllipseFromEntity(LOEntityRef entity);
63
-
64
- /**
65
- @brief Converts from a \ref LOEllipseRef to a \ref LOEntityRef.
66
- This is essentially an upcast operation.
67
- @param[in] ellipse The ellipse object.
68
- @return
69
- - The converted \ref LOEntityRef if ellipse is a valid object
70
- - If not, the returned reference will be invalid
71
- */
72
- LO_EXPORT LOEntityRef LOEllipseToEntity(LOEllipseRef ellipse);
73
-
74
- #ifdef __cplusplus
75
- } // end extern "C"
76
- #endif // __cplusplus
77
-
78
- #endif // LAYOUT_MODEL_ELLIPSE_H_
@@ -1,402 +0,0 @@
1
- // Copyright 2015-2022 Trimble Inc. All rights reserved.
2
- // This file is intended for public distribution.
3
-
4
- #ifndef LAYOUT_MODEL_ENTITY_H_
5
- #define LAYOUT_MODEL_ENTITY_H_
6
-
7
- #include <LayOutAPI/common.h>
8
- #include <LayOutAPI/geometry/geometry.h>
9
- #include <LayOutAPI/model/defs.h>
10
-
11
- /**
12
- @enum LOEntityType
13
- @brief Defines the different types of entities that may exist in a document.
14
- */
15
- typedef enum {
16
- LOEntityType_FormattedText = 0, ///< The entity is a LOFormattedTextRef.
17
- LOEntityType_Group, ///< The entity is a LOGroupRef.
18
- LOEntityType_Image, ///< The entity is a LOImageRef.
19
- LOEntityType_LinearDimension, ///< The entity is a LOLinearDimensionRef.
20
- LOEntityType_Path, ///< The entity is a LOPathRef.
21
- LOEntityType_Rectangle, ///< The entity is a LORectangleRef.
22
- LOEntityType_SketchUpModel, ///< The entity is a LOSketchUpModelRef.
23
- LOEntityType_Ellipse, ///< The entity is a LOEllipseRef.
24
- LOEntityType_Label, ///< The entity is a LOLabelRef.
25
- LOEntityType_Table, ///< The entity is a LOTableRef.
26
- LOEntityType_AngularDimension, ///< The entity is a LOAngularDimensionRef.
27
- LOEntityType_ReferenceEntity, ///< The entity is a LOReferenceEntityRef.
28
- LONumEntityTypes
29
- } LOEntityType;
30
-
31
- /**
32
- @struct LOEntityRef
33
- @brief An entity is an object shown on a page of a LayOut document.
34
- */
35
-
36
- #ifdef __cplusplus
37
- extern "C" {
38
- #endif // __cplusplus
39
-
40
- /**
41
- @brief Gets the bounds of an entity in the x and y axis of the page.
42
- @return
43
- @param[in] entity The entity object.
44
- @param[out] bounds The bounds of the entity.
45
- - \ref SU_ERROR_NONE on success
46
- - \ref SU_ERROR_INVALID_INPUT if entity does not refer to a valid object
47
- - \ref SU_ERROR_NULL_POINTER_OUTPUT if bounds is NULL
48
- */
49
- LO_RESULT LOEntityGetAxisAlignedBounds(LOEntityRef entity, LOAxisAlignedRect2D* bounds);
50
-
51
- /**
52
- @brief Gets a rectangle that bounds an entity. The rectangle returned by this
53
- function may not be aligned with the page axis if the entity has an
54
- explicit transformation.
55
- @param[in] entity The entity object.
56
- @param[out] bounds The oriented bounds of the entity.
57
- @return
58
- - \ref SU_ERROR_NONE on success
59
- - \ref SU_ERROR_INVALID_INPUT if entity does not refer to a valid object
60
- - \ref SU_ERROR_NULL_POINTER_OUTPUT if bounds is NULL
61
- */
62
- LO_RESULT LOEntityGetOrientedBounds(LOEntityRef entity, LOOrientedRect2D* bounds);
63
-
64
- /**
65
- @brief Gets whether or not an entity has an explicit transformation. The
66
- following types of entities will always have an explicit transformation:
67
- \ref LOFormattedTextRef, \ref LOImageRef, \ref LORectangleRef,
68
- \ref LOSketchUpModelRef and \ref LOEllipseRef.
69
- @param[in] entity The entity object.
70
- @param[out] has_transform Whether the entity has an explicit transformation.
71
- @return
72
- - \ref SU_ERROR_NONE on success
73
- - \ref SU_ERROR_INVALID_INPUT if entity does not refer to a valid object
74
- - \ref SU_ERROR_NULL_POINTER_OUTPUT if has_transform is NULL
75
- */
76
- LO_RESULT LOEntityHasExplicitTransform(LOEntityRef entity, bool* has_transform);
77
-
78
- /**
79
- @brief Gets the explicit transformation for an entity. This function is only
80
- supported for entities that have an explicit transformation.
81
- @return
82
- - \ref SU_ERROR_NONE on success
83
- - \ref SU_ERROR_INVALID_INPUT if entity does not refer to a valid object
84
- - \ref SU_ERROR_NO_DATA if entity does not have an explicit transformation
85
- - \ref SU_ERROR_NULL_POINTER_OUTPUT if transform_matrix is NULL
86
- */
87
- LO_RESULT LOEntityGetExplicitTransform(LOEntityRef entity, LOTransformMatrix2D* transform_matrix);
88
-
89
- /**
90
- @brief Applies a transformation to an entity. This works for all types of
91
- entities, regardless of whether or not they have an explicit
92
- transformation. It even works on groups, in which case the
93
- transformation is applied to everything inside the group.
94
- @return
95
- - \ref SU_ERROR_NONE on success
96
- - \ref SU_ERROR_INVALID_INPUT if entity does not refer to a valid object
97
- - \ref SU_ERROR_LAYER_LOCKED if entity is on a locked layer
98
- - \ref SU_ERROR_ENTITY_LOCKED if entity is locked
99
- - \ref SU_ERROR_NULL_POINTER_INPUT if transform_matrix is NULL
100
- */
101
- LO_RESULT LOEntityApplyTransform(LOEntityRef entity, const LOTransformMatrix2D* transform_matrix);
102
-
103
- /**
104
- @brief Gets the untransformed bounds of an entity. This is the bounds of the
105
- entity before its explicit transformation is applied. This function is
106
- only supported for entities that have an explicit transformation.
107
- @param[in] entity The entity object.
108
- @param[out] bounds The untransformed bounds.
109
- @return
110
- - \ref SU_ERROR_NONE on success
111
- - \ref SU_ERROR_INVALID_INPUT if entity does not refer to a valid object
112
- - \ref SU_ERROR_NO_DATA if entity does not have an explicit transformation
113
- - \ref SU_ERROR_NULL_POINTER_OUTPUT if bounds is NULL
114
- */
115
- LO_RESULT LOEntityGetUntransformedBounds(LOEntityRef entity, LOAxisAlignedRect2D* bounds);
116
-
117
- /**
118
- @brief Sets the untransformed bounds of an entity. This is the bounds of the
119
- entity before its explicit transformation is applied. This function is
120
- only supported for entities that have an explicit transformation.
121
- @param[in] entity The entity object.
122
- @param[in] bounds The untransformed bounds.
123
- @return
124
- - \ref SU_ERROR_NONE on success
125
- - \ref SU_ERROR_INVALID_INPUT if entity does not refer to a valid object
126
- - \ref SU_ERROR_GENERIC if entity does not have an explicit transformation
127
- - \ref SU_ERROR_LAYER_LOCKED if entity is on a locked layer
128
- - \ref SU_ERROR_ENTITY_LOCKED if entity is locked
129
- - \ref SU_ERROR_NULL_POINTER_OUTPUT if bounds is NULL
130
- - \ref SU_ERROR_OUT_OF_RANGE if bounds is zero sized
131
- */
132
- LO_RESULT LOEntitySetUntransformedBounds(LOEntityRef entity, const LOAxisAlignedRect2D* bounds);
133
-
134
- /**
135
- @brief Gets the entity type of an entity. This can be used to determine which
136
- FromEntity function to use for casting the LOEntityRef object to its
137
- specific entity object type.
138
- @param[in] entity The entity object.
139
- @param[out] entity_type The entity type.
140
- @return
141
- - \ref SU_ERROR_NONE on success
142
- - \ref SU_ERROR_INVALID_INPUT if entity does not refer to a valid object
143
- - \ref SU_ERROR_NULL_POINTER_OUTPUT if entity_type is NULL
144
- */
145
- LO_RESULT LOEntityGetEntityType(LOEntityRef entity, LOEntityType* entity_type);
146
-
147
- /**
148
- @brief Gets the document that an entity belongs to.
149
- @param[in] entity The entity object.
150
- @param[out] document The document object.
151
- @return
152
- - \ref SU_ERROR_NONE on success
153
- - \ref SU_ERROR_INVALID_INPUT if entity does not refer to a valid object
154
- - \ref SU_ERROR_NULL_POINTER_OUTPUT if document is NULL
155
- - \ref SU_ERROR_OVERWRITE_VALID if *document already refers to a valid object
156
- - \ref SU_ERROR_NO_DATA if this entity is not in a document
157
- */
158
- LO_RESULT LOEntityGetDocument(LOEntityRef entity, LODocumentRef* document);
159
-
160
- /**
161
- @brief Gets the layer instance that an entity is associated with. Note that
162
- groups are never associated with a layer instance.
163
- @param[in] entity The entity object.
164
- @param[out] layer_instance The layer instance object.
165
- @return
166
- - \ref SU_ERROR_NONE on success
167
- - \ref SU_ERROR_INVALID_INPUT if entity does not refer to a valid object
168
- - \ref SU_ERROR_NO_DATA if this entity is not associated with a layer or does
169
- not belong to a document
170
- - \ref SU_ERROR_NULL_POINTER_OUTPUT if layer_instance is NULL
171
- - \ref SU_ERROR_OVERWRITE_VALID if *layer_instance already refers to a valid
172
- object
173
- */
174
- LO_RESULT LOEntityGetLayerInstance(LOEntityRef entity, LOLayerInstanceRef* layer_instance);
175
-
176
- /**
177
- @brief Moves an entity to the given layer.
178
-
179
- If the layer is non-shared and the entity is currently on a shared layer, pages must be valid and
180
- populated with the pages to move the entity to. In all other cases, pages may be an invalid object.
181
- The entity must belong to the same document as the the layer and the pages.
182
-
183
- @bug In LayOut versions prior to LayOut 2024.0 this method would fail to move entities from
184
- non-shared layers.
185
-
186
- @param[in] entity The entity object.
187
- @param[in] layer The layer definition object.
188
- @param[in] pages The page list object.
189
- @return
190
- - \ref SU_ERROR_NONE on success
191
- - \ref SU_ERROR_INVALID_INPUT if \p entity does not refer to a valid object
192
- - \ref SU_ERROR_INVALID_INPUT if \p layer does not refer to a valid object
193
- - \ref SU_ERROR_INVALID_INPUT if \p pages does not refer to a valid object and
194
- \p layer is non-shared
195
- - \ref SU_ERROR_INVALID_INPUT if \p pages is empty and \p layer is non-shared
196
- - \ref SU_ERROR_INVALID_INPUT if \p pages contains the same page reference more
197
- than once and \p layer is non-shared
198
- - \ref SU_ERROR_GENERIC if \p entity, \p layer, and \p pages are not all in the same
199
- document
200
- - \ref SU_ERROR_LAYER_LOCKED if \p layer is locked or if \p entity is currently on a
201
- locked layer
202
- - \ref SU_ERROR_ENTITY_LOCKED if \p entity is locked
203
- */
204
- LO_RESULT LOEntityMoveToLayer(LOEntityRef entity, LOLayerRef layer, LOPageListRef pages);
205
-
206
- /**
207
- @brief Gets the page that an entity belongs to. This function will only
208
- succeed if the entity is on a non-shared layer.
209
- @param[in] entity The entity object.
210
- @param[out] page The page object.
211
- @return
212
- - \ref SU_ERROR_NONE on success
213
- - \ref SU_ERROR_INVALID_INPUT if entity does not refer to a valid object
214
- - \ref SU_ERROR_NULL_POINTER_OUTPUT if page is NULL
215
- - \ref SU_ERROR_OVERWRITE_VALID if *page already refers to a valid object
216
- - \ref SU_ERROR_NO_DATA if this entity is not in a document or is on a shared
217
- layer
218
- */
219
- LO_RESULT LOEntityGetPage(LOEntityRef entity, LOPageRef* page);
220
-
221
- /**
222
- @brief Gets whether or not this entity belongs to a group.
223
- @param[in] entity The entity object.
224
- @param[out] is_in_group Whether the entity is in a group.
225
- @return
226
- - \ref SU_ERROR_NONE on success
227
- - \ref SU_ERROR_INVALID_INPUT if entity does not refer to a valid object
228
- - \ref SU_ERROR_NULL_POINTER_OUTPUT if is_in_group is NULL
229
- */
230
- LO_RESULT LOEntityIsInGroup(LOEntityRef entity, bool* is_in_group);
231
-
232
- /**
233
- @brief Gets the group that an entity belongs to.
234
- @param[in] entity The entity object.
235
- @param[out] group The group object.
236
- @return
237
- - \ref SU_ERROR_NONE on success
238
- - \ref SU_ERROR_INVALID_INPUT if entity does not refer to a valid object
239
- - \ref SU_ERROR_NO_DATA if entity is not in a group
240
- - \ref SU_ERROR_NULL_POINTER_OUTPUT if group is NULL
241
- - \ref SU_ERROR_OVERWRITE_VALID if *group already refers to a valid object
242
- */
243
- LO_RESULT LOEntityGetContainingGroup(LOEntityRef entity, LOGroupRef* group);
244
-
245
- /**
246
- @brief Moves an entity into a group. If the entity is already in a group, it
247
- will be removed from that group prior to being added to the new group.
248
- If this action results in the old group containing only one entity, the
249
- old group will be collapsed and the remaining entity will be moved to
250
- the old group's parent.
251
- @param[in] entity The entity object.
252
- @param[in] group The group object.
253
- @return
254
- - \ref SU_ERROR_NONE on success
255
- - \ref SU_ERROR_INVALID_INPUT if entity does not refer to a valid object
256
- - \ref SU_ERROR_LAYER_LOCKED if entity is on a locked layer
257
- - \ref SU_ERROR_ENTITY_LOCKED if entity is locked
258
- - \ref SU_ERROR_INVALID_INPUT if group does not refer to a valid object
259
- - \ref SU_ERROR_GENERIC if entity and group are not in the same document
260
- - \ref SU_ERROR_GENERIC if entity and group belong to different pages, or if
261
- one is shared and the other is not
262
- */
263
- LO_RESULT LOEntityMoveToGroup(LOEntityRef entity, LOGroupRef group);
264
-
265
- /**
266
- @brief Gets the style of an entity.
267
- @param[in] entity The entity object.
268
- @param[out] style The style object.
269
- @return
270
- - \ref SU_ERROR_NONE on success
271
- - \ref SU_ERROR_INVALID_INPUT if entity does not refer to a valid object
272
- - \ref SU_ERROR_INVALID_OUTPUT if style does not refer to a valid object
273
- - \ref SU_ERROR_NO_DATA if entity is a group, and thus has no style
274
- */
275
- LO_RESULT LOEntityGetStyle(LOEntityRef entity, LOStyleRef style);
276
-
277
- /**
278
- @brief Sets the style of an entity.
279
- @param[in] entity The entity object.
280
- @param[out] style The style object.
281
- @return
282
- - \ref SU_ERROR_NONE on success
283
- - \ref SU_ERROR_INVALID_INPUT if entity does not refer to a valid object
284
- - \ref SU_ERROR_INVALID_INPUT if style does not refer to a valid object
285
- - \ref SU_ERROR_LAYER_LOCKED if entity is on a locked layer
286
- - \ref SU_ERROR_ENTITY_LOCKED if entity is locked
287
- */
288
- LO_RESULT LOEntitySetStyle(LOEntityRef entity, LOStyleRef style);
289
- /**
290
- @brief Gets whether or not an entity is on a shared layer. This function
291
- works for all entity types, including groups. Groups do not belong to a
292
- specific layer, but their children are all on either a shared or
293
- non-shared layer.
294
- @param[in] entity The entity object.
295
- @param[out] is_on_shared_layer Whether the entity is on a shared layer.
296
- @return
297
- - \ref SU_ERROR_NONE on success
298
- - \ref SU_ERROR_INVALID_INPUT if entity does not refer to a valid object
299
- - \ref SU_ERROR_NULL_POINTER_OUTPUT if is_on_shared_layer is NULL
300
- - \ref SU_ERROR_NO_DATA if entity does not belong to a document
301
- */
302
- LO_RESULT LOEntityIsOnSharedLayer(LOEntityRef entity, bool* is_on_shared_layer);
303
-
304
- /**
305
- @brief Gets whether an entity is locked.
306
- @since LayOut 2018, API 3.0
307
- @param[in] entity The entity object.
308
- @param[out] is_locked Whether the entity is locked or unlocked.
309
- @return
310
- - \ref SU_ERROR_NONE on success
311
- - \ref SU_ERROR_INVALID_INPUT if entity does not refer to a valid object
312
- - \ref SU_ERROR_NULL_POINTER_OUTPUT if is_locked is NULL
313
- */
314
- LO_RESULT LOEntityGetLocked(LOEntityRef entity, bool* is_locked);
315
-
316
- /**
317
- @brief Sets an entity to be locked or unlocked.
318
- @since LayOut 2018, API 3.0
319
- @param[in] entity The entity object.
320
- @param[in] lock Whether the entity should be locked or unlocked.
321
- @return
322
- - \ref SU_ERROR_NONE on success
323
- - \ref SU_ERROR_INVALID_INPUT if entity does not refer to a valid object
324
- */
325
- LO_RESULT LOEntitySetLocked(LOEntityRef entity, bool lock);
326
-
327
- /**
328
- @brief Gets a copy of an attribute dictionary with the given name from an entity.
329
- @since LayOut 2026, API 11.0
330
- @param[in] entity The entity object.
331
- @param[in] dictionary_name The name of the attribute dictionary object to retrieve.
332
- @param[out] dictionary The attribute dictionary object.
333
- @related LOEntityRef
334
- @return
335
- - \ref SU_ERROR_NONE on success
336
- - \ref SU_ERROR_INVALID_INPUT if \p entity does not refer to a valid object
337
- - \ref SU_ERROR_NULL_POINTER_INPUT if \p dictionary_name is NULL
338
- - \ref SU_ERROR_NULL_POINTER_OUTPUT if \p dictionary is NULL
339
- - \ref SU_ERROR_NO_DATA if \p entity does not have an attribute dictionary with the given name
340
- - \ref SU_ERROR_UNSUPPORTED if \p entity does not support attribute dictionaries
341
- */
342
- LO_RESULT LOEntityCreateAttributeDictionaryCopy(
343
- LOEntityRef entity, const char* dictionary_name, LODictionaryRef* dictionary);
344
-
345
- /**
346
- @brief Sets an attribute dictionary to a given dictionary belonging to an entity.
347
- @since LayOut 2026, API 11.0
348
- @param[in] entity The entity object.
349
- @param[in] dictionary_name The name of the attribute dictionary object being added to.
350
- @param[in] key The key to use when adding to the attribute dictionary.
351
- @param[in] value_in The value to be added to the attribute dictionary.
352
- @related LOEntityRef
353
- @return
354
- - \ref SU_ERROR_NONE on success
355
- - \ref SU_ERROR_INVALID_INPUT if \p entity does not refer to a valid object
356
- - \ref SU_ERROR_INVALID_ARGUMENT if \p value_in contains no data
357
- - \ref SU_ERROR_NULL_POINTER_INPUT if \p dictionary_name or \p key are NULL
358
- - \ref SU_ERROR_UNSUPPORTED if \p entity does not support attribute dictionaries or
359
- \p dictionary_name or \p key are empty
360
- */
361
- LO_RESULT LOEntitySetAttribute(
362
- LOEntityRef entity, const char* dictionary_name, const char* key, LOTypedValueRef value_in);
363
-
364
- /**
365
- @brief Gets an attribute from a given dictionary belonging to an entity.
366
- @since LayOut 2026, API 11.0
367
- @param[in] entity The entity object.
368
- @param[in] dictionary_name The name of the attribute dictionary object to retrieve the value from.
369
- @param[in] key The key to use when adding to the attribute dictionary.
370
- @param[out] value_out The value retrieved from the attribute dictionary.
371
- @related LOEntityRef
372
- @return
373
- - \ref SU_ERROR_NONE on success
374
- - \ref SU_ERROR_INVALID_INPUT if \p document does not refer to a valid object
375
- - \ref SU_ERROR_INVALID_OUTPUT if \p value_out does not refer to a valid object
376
- - \ref SU_ERROR_NULL_POINTER_INPUT if \p dictionary_name or \p key are NULL
377
- - \ref SU_ERROR_NO_DATA if no attribute dictionary exists with the given name, or if the attribute
378
- dictionary does not contain the given key
379
- */
380
- LO_RESULT LOEntityGetAttribute(
381
- LOEntityRef entity, const char* dictionary_name, const char* key, LOTypedValueRef value_out);
382
-
383
- /**
384
- @brief Removes an attribute from a given dictionary belonging to an Entity. If key is nullptr, then
385
- the entire dictionary will be removed from the Entity.
386
- @since LayOut 2026, API 11.0
387
- @param[in] entity The entity object.
388
- @param[in] dictionary_name The name of the attribute dictionary object to remove.
389
- @param[in] key The key to remove from the attribute dictionary.
390
- @related LOEntityRef
391
- @return
392
- - \ref SU_ERROR_NONE on success
393
- - \ref SU_ERROR_INVALID_INPUT if \p entity does not refer to a valid object
394
- - \ref SU_ERROR_NULL_POINTER_INPUT if \p dictionary_name or \p key are NULL
395
- - \ref SU_ERROR_UNSUPPORTED if \p entity does not support attribute dictionaries
396
- */
397
- LO_RESULT LOEntityDeleteAttribute(LOEntityRef entity, const char* dictionary_name, const char* key);
398
-
399
- #ifdef __cplusplus
400
- } // end extern "C"
401
- #endif // __cplusplus
402
- #endif // LAYOUT_MODEL_ENTITY_H_
@@ -1,49 +0,0 @@
1
- // Copyright 2015 Trimble Navigation Ltd. All rights reserved.
2
- // This file is intended for public distribution.
3
-
4
- #ifndef LAYOUT_MODEL_ENTITYITERATOR_H_
5
- #define LAYOUT_MODEL_ENTITYITERATOR_H_
6
-
7
- #include <LayOutAPI/common.h>
8
- #include <LayOutAPI/model/defs.h>
9
-
10
- /**
11
- @struct LOEntityIteratorRef
12
- @brief References an iterator for \ref LOEntityRef objects.
13
- */
14
-
15
- #ifdef __cplusplus
16
- extern "C" {
17
- #endif // __cplusplus
18
-
19
- /**
20
- @brief Releases an entity iterator object. *entity_iterator will be set to
21
- invalid by this function.
22
- @param[in] entity_iterator The entity iterator object.
23
- @return
24
- - \ref SU_ERROR_NONE on success
25
- - \ref SU_ERROR_NULL_POINTER_INPUT if entity_iterator is NULL
26
- - \ref SU_ERROR_INVALID_INPUT if *entity_iterator does not refer to a valid
27
- object
28
- */
29
- LO_RESULT LOEntityIteratorRelease(LOEntityIteratorRef* entity_iterator);
30
-
31
- /**
32
- @brief Gets a reference to the current entity and increment the iterator.
33
- entity will be set to an invalid object upon reaching the end of the
34
- iterator.
35
- @param[in] entity_iterator The entity iterator object.
36
- @param[out] entity The entity object.
37
- @return
38
- - \ref SU_ERROR_NONE on success
39
- - \ref SU_ERROR_INVALID_INPUT if entity_iterator does not refer to a valid
40
- object
41
- - \ref SU_ERROR_NULL_POINTER_OUTPUT if entity does not refer to a valid object
42
- */
43
- LO_RESULT LOEntityIteratorNext(LOEntityIteratorRef entity_iterator, LOEntityRef* entity);
44
-
45
- #ifdef __cplusplus
46
- } // end extern "C"
47
- #endif // __cplusplus
48
-
49
- #endif // LAYOUT_MODEL_ENTITYITERATOR_H_