LayOut C API
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
entity.h
Go to the documentation of this file.
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>
9 #include <LayOutAPI/model/defs.h>
10 
15 typedef enum {
29 } LOEntityType;
30 
36 #ifdef __cplusplus
37 extern "C" {
38 #endif // __cplusplus
39 
50 
63 
76 LO_RESULT LOEntityHasExplicitTransform(LOEntityRef entity, bool* has_transform);
77 
88 
101 LO_RESULT LOEntityApplyTransform(LOEntityRef entity, const LOTransformMatrix2D* transform_matrix);
102 
116 
133 
146 
159 
175 
201 
229 
244 
254 LO_RESULT LOEntityIsInGroup(LOEntityRef entity, bool* is_in_group);
255 
268 
288 
300 
326 LO_RESULT LOEntityIsOnSharedLayer(LOEntityRef entity, bool* is_on_shared_layer);
327 
338 LO_RESULT LOEntityGetLocked(LOEntityRef entity, bool* is_locked);
339 
349 LO_RESULT LOEntitySetLocked(LOEntityRef entity, bool lock);
350 
351 #ifdef __cplusplus
352 } // end extern "C"
353 #endif // __cplusplus
354 #endif // LAYOUT_MODEL_ENTITY_H_