SketchUp SDK
Main Page
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
slapi
model
drawing_element.h
Go to the documentation of this file.
1
// Copyright 2013 Trimble Navigation Ltd. All Rights Reserved.
2
#ifndef SLAPI_MODEL_DRAWINGELEMENT_H_
3
#define SLAPI_MODEL_DRAWINGELEMENT_H_
4
5
#include <
slapi/slapi.h
>
6
#include <
slapi/model/defs.h
>
7
8
#ifdef __cplusplus
9
extern
"C"
{
10
#endif
11
26
SU_EXPORT
SUEntityRef
SUDrawingElementToEntity
(
SUDrawingElementRef
elem);
27
37
SU_EXPORT
SUDrawingElementRef
SUDrawingElementFromEntity
(
SUEntityRef
entity);
38
46
SU_EXPORT
enum
SURefType
SUDrawingElementGetType
(
SUDrawingElementRef
elem);
47
57
SU_RESULT
SUDrawingElementGetBoundingBox
(
SUDrawingElementRef
elem,
58
struct
SUBoundingBox3D
* bbox);
59
74
SU_RESULT
SUDrawingElementGetMaterial
(
SUDrawingElementRef
elem,
75
SUMaterialRef
* material);
76
89
SU_RESULT
SUDrawingElementSetMaterial
(
SUDrawingElementRef
elem,
90
SUMaterialRef
material);
91
101
SU_RESULT
SUDrawingElementGetLayer
(
SUDrawingElementRef
elem,
SULayerRef
* layer);
102
111
SU_RESULT
SUDrawingElementSetLayer
(
SUDrawingElementRef
elem,
SULayerRef
layer);
112
121
SU_RESULT
SUDrawingElementSetHidden
(
SUDrawingElementRef
elem,
122
bool
hide_flag);
123
133
SU_RESULT
SUDrawingElementGetHidden
(
SUDrawingElementRef
elem,
134
bool
* hide_flag);
135
136
137
#ifdef __cplusplus
138
}
// extern "C"
139
#endif
140
141
#endif // SLAPI_MODEL_DRAWINGELEMENT_H_
Generated on Tue Aug 6 2013 11:05:25 for SketchUp SDK by
1.8.3.1