LayOut C API
Main Page
Related Pages
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
LayOutAPI
model
group.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_GROUP_H_
5
#define LAYOUT_MODEL_GROUP_H_
6
7
#include <
LayOutAPI/common.h
>
8
#include <
LayOutAPI/model/defs.h
>
9
#include <
LayOutAPI/model/document.h
>
10
21
#ifdef __cplusplus
22
extern
"C"
{
23
#endif // __cplusplus
24
29
typedef
enum
{
30
LOGroupResizeBehaviorType_None
= 0,
31
LOGroupResizeBehaviorType_Bounds
,
32
LOGroupResizeBehaviorType_BoundsAndFonts
33
}
LOGroupResizeBehaviorType
;
34
61
LO_RESULT
LOGroupCreate
(
LOGroupRef
* group,
LOEntityListRef
entity_list);
62
70
LO_RESULT
LOGroupAddReference
(
LOGroupRef
group);
71
72
82
LO_RESULT
LOGroupRelease
(
LOGroupRef
* group);
83
93
LO_EXPORT
LOGroupRef
LOGroupFromEntity
(
LOEntityRef
entity);
94
103
LO_EXPORT
LOEntityRef
LOGroupToEntity
(
LOGroupRef
group);
104
116
LO_RESULT
LOGroupUngroup
(
LOGroupRef
* group);
117
128
LO_RESULT
LOGroupGetEntities
(
LOGroupRef
group,
129
LOEntityListRef
entity_list);
130
140
LO_RESULT
LOGroupGetNumberOfEntities
(
LOGroupRef
group,
size_t
* num_entities);
141
154
LO_RESULT
LOGroupGetEntityAtIndex
(
LOGroupRef
group,
155
size_t
index,
156
LOEntityRef
* child_entity);
157
169
LO_RESULT
LOGroupGetScaleFactor
(
LOGroupRef
group,
170
double
* scale_factor);
171
188
LO_RESULT
LOGroupSetScaleFactor
(
LOGroupRef
group,
189
double
scale_factor,
190
LODocumentUnits
units,
191
LOGroupResizeBehaviorType
resize_behavior);
192
207
LO_RESULT
LOGroupGetScaleUnits
(
LOGroupRef
group,
208
LODocumentUnits
* units,
209
double
* precision);
210
230
LO_RESULT
LOGroupSetScaleUnits
(
LOGroupRef
group,
231
LODocumentUnits
units,
232
double
precision);
233
247
LO_RESULT
LOGroupRemoveScaleFactor
(
LOGroupRef
group,
248
LOGroupResizeBehaviorType
resize_behavior);
249
250
#ifdef __cplusplus
251
}
// end extern C
252
#endif // __cplusplus
253
254
#endif // LAYOUT_MODEL_GROUP_H_
Generated on Wed Sep 8 2021 14:15:26 for LayOut C API by
1.8.3.1