Vanilla.PDF  1.6.0
Cross-platform toolkit for creating and modifying PDF documents
c_rectangle.h
Go to the documentation of this file.
1#ifndef _C_RECTANGLE_H
2#define _C_RECTANGLE_H
3
7
8#ifdef __cplusplus
9extern "C"
10{
11#endif
12
33 VANILLAPDF_API error_type CALLING_CONVENTION Rectangle_Create(RectangleHandle** result);
34
38 VANILLAPDF_API error_type CALLING_CONVENTION Rectangle_GetLowerLeftX(RectangleHandle* handle, bigint_type* result);
39
43 VANILLAPDF_API error_type CALLING_CONVENTION Rectangle_SetLowerLeftX(RectangleHandle* handle, bigint_type data);
44
48 VANILLAPDF_API error_type CALLING_CONVENTION Rectangle_GetLowerLeftY(RectangleHandle* handle, bigint_type* result);
49
53 VANILLAPDF_API error_type CALLING_CONVENTION Rectangle_SetLowerLeftY(RectangleHandle* handle, bigint_type data);
54
58 VANILLAPDF_API error_type CALLING_CONVENTION Rectangle_GetUpperRightX(RectangleHandle* handle, bigint_type* result);
59
63 VANILLAPDF_API error_type CALLING_CONVENTION Rectangle_SetUpperRightX(RectangleHandle* handle, bigint_type data);
64
68 VANILLAPDF_API error_type CALLING_CONVENTION Rectangle_GetUpperRightY(RectangleHandle* handle, bigint_type* result);
69
73 VANILLAPDF_API error_type CALLING_CONVENTION Rectangle_SetUpperRightY(RectangleHandle* handle, bigint_type data);
74
78 VANILLAPDF_API error_type CALLING_CONVENTION Rectangle_ToUnknown(RectangleHandle* handle, IUnknownHandle** result);
79
83 VANILLAPDF_API error_type CALLING_CONVENTION Rectangle_FromUnknown(IUnknownHandle* handle, RectangleHandle** result);
84
89 VANILLAPDF_API error_type CALLING_CONVENTION Rectangle_Release(RectangleHandle* handle);
90
93#ifdef __cplusplus
94};
95#endif
96
97#endif /* _C_RECTANGLE_H */
This file contains macro declarations for importing and exporting symbols from library boundaries.
This file contains all type forward declarations returned by the library API.
This file contains types and constants used as parameters or return values.
Base class for reference counting.
Represents rectangle in 2D space.
error_type CALLING_CONVENTION Rectangle_ToUnknown(RectangleHandle *handle, IUnknownHandle **result)
Reinterpret current object as IUnknownHandle.
error_type CALLING_CONVENTION Rectangle_SetLowerLeftX(RectangleHandle *handle, bigint_type data)
Set X-coordinate of lower-left corner.
error_type CALLING_CONVENTION Rectangle_SetUpperRightX(RectangleHandle *handle, bigint_type data)
Set X-coordinate of upper-right corner.
error_type CALLING_CONVENTION Rectangle_Create(RectangleHandle **result)
Create a new rectangle with default values.
error_type CALLING_CONVENTION Rectangle_GetUpperRightX(RectangleHandle *handle, bigint_type *result)
Get X-coordinate of upper-right corner.
error_type CALLING_CONVENTION Rectangle_GetLowerLeftY(RectangleHandle *handle, bigint_type *result)
Get Y-coordinate of lower-left corner.
error_type CALLING_CONVENTION Rectangle_SetUpperRightY(RectangleHandle *handle, bigint_type data)
Set Y-coordinate of upper-right corner.
error_type CALLING_CONVENTION Rectangle_GetUpperRightY(RectangleHandle *handle, bigint_type *result)
Get Y-coordinate of upper-right corner.
error_type CALLING_CONVENTION Rectangle_SetLowerLeftY(RectangleHandle *handle, bigint_type data)
Set Y-coordinate of lower-left corner.
error_type CALLING_CONVENTION Rectangle_FromUnknown(IUnknownHandle *handle, RectangleHandle **result)
Convert IUnknownHandle to ObjectHandle.
error_type CALLING_CONVENTION Rectangle_GetLowerLeftX(RectangleHandle *handle, bigint_type *result)
Get X-coordinate of lower-left corner.
error_type CALLING_CONVENTION Rectangle_Release(RectangleHandle *handle)
Decrement the internal reference counter.
uint32_t error_type
This is return value type of all API functions.
Definition: c_types.h:25
int64_t bigint_type
64-bit signed integer type
Definition: c_types.h:72