LayOut C API

- Main Page
- Related Pages
- Data Structures
- Files

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
image.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_IMAGE_H_
5 #define LAYOUT_MODEL_IMAGE_H_
6
7 #include <LayOutAPI/common.h>
8 #include <LayOutAPI/geometry/geometry.h>
9 #include <LayOutAPI/model/defs.h>
10
16 #ifdef __cplusplus
17 extern "C" {
18 #endif // __cplusplus
19
36 LO_RESULT LOImageCreateFromFile(
37 LOImageRef* image, const LOAxisAlignedRect2D* bounds, const char* file_path);
38
46 LO_RESULT LOImageAddReference(LOImageRef image);
47
57 LO_RESULT LOImageRelease(LOImageRef* image);
58
68 LO_EXPORT LOImageRef LOImageFromEntity(LOEntityRef entity);
69
78 LO_EXPORT LOEntityRef LOImageToEntity(LOImageRef image);
79
90 LO_RESULT LOImageGetImageRep(LOImageRef image, LOImageRepRef* imagerep);
91
106 LO_RESULT LOImageGetOutputImageRep(LOImageRef image, LOImageRepRef* imagerep);
107
119 LO_RESULT LOImageGetClipMask(LOImageRef image, LOEntityRef* clip_mask);
120
141 LO_RESULT LOImageSetClipMask(LOImageRef image, LOEntityRef clip_mask);
142
143 #ifdef __cplusplus
144 } // end extern "C"
145 #endif // __cplusplus
146 #endif // LAYOUT_MODEL_IMAGE_H_