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 Trimble Navigation Ltd. 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 {
28 } LOEntityType;
29 
35 #ifdef __cplusplus
36 extern "C" {
37 #endif // __cplusplus
38 
49  LOAxisAlignedRect2D* bounds);
50 
63  LOOrientedRect2D* bounds);
64 
78  bool* has_transform);
79 
90  LOTransformMatrix2D* transform_matrix);
91 
105  const LOTransformMatrix2D* transform_matrix);
106 
120  LOAxisAlignedRect2D* bounds);
121 
138  const LOAxisAlignedRect2D* bounds);
139 
152  LOEntityType* entity_type);
153 
166  LODocumentRef* document);
167 
183  LOLayerInstanceRef* layer_instance);
184 
210  LOLayerRef layer,
211  LOPageListRef pages);
212 
240  LOLayerRef layer,
241  LOPageListRef pages);
242 
257  LOPageRef* page);
258 
269  bool* is_in_group);
270 
283  LOGroupRef* group);
284 
304  LOGroupRef group);
305 
317  LOStyleRef style);
318 
331  LOStyleRef style);
346  bool* is_on_shared_layer);
347 
358 LO_RESULT LOEntityGetLocked(LOEntityRef entity, bool* is_locked);
359 
369 LO_RESULT LOEntitySetLocked(LOEntityRef entity, bool lock);
370 
371 #ifdef __cplusplus
372 } // end extern "C"
373 #endif // __cplusplus
374 #endif //LAYOUT_MODEL_ENTITY_H_