Vanilla.PDF  2.0.0
Cross-platform toolkit for creating and modifying PDF documents
c_real_object.h
Go to the documentation of this file.
1#ifndef _C_REAL_OBJECT_H
2#define _C_REAL_OBJECT_H
3
7
8#ifdef __cplusplus
9extern "C"
10{
11#endif
12
33 VANILLAPDF_API error_type CALLING_CONVENTION RealObject_Create(RealObjectHandle** result);
34
38 VANILLAPDF_API error_type CALLING_CONVENTION RealObject_CreateFromData(real_type data, integer_type precision, RealObjectHandle** result);
39
43 VANILLAPDF_API error_type CALLING_CONVENTION RealObject_GetValue(RealObjectHandle* handle, real_type* result);
44
48 VANILLAPDF_API error_type CALLING_CONVENTION RealObject_SetValue(RealObjectHandle* handle, real_type value);
49
53 VANILLAPDF_API error_type CALLING_CONVENTION RealObject_ToObject(RealObjectHandle* handle, ObjectHandle** result);
54
58 VANILLAPDF_API error_type CALLING_CONVENTION RealObject_FromObject(ObjectHandle* handle, RealObjectHandle** result);
59
63 VANILLAPDF_API error_type CALLING_CONVENTION RealObject_Release(RealObjectHandle* handle);
64
67#ifdef __cplusplus
68};
69#endif
70
71#endif /* _C_REAL_OBJECT_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 syntactic tokens.
Real objects represent mathematical real numbers.
error_type CALLING_CONVENTION RealObject_FromObject(ObjectHandle *handle, RealObjectHandle **result)
Convert ObjectHandle to RealObjectHandle.
error_type CALLING_CONVENTION RealObject_CreateFromData(real_type data, integer_type precision, RealObjectHandle **result)
Creates a new RealObject instance with specified data.
error_type CALLING_CONVENTION RealObject_ToObject(RealObjectHandle *handle, ObjectHandle **result)
Reinterpret current object as ObjectHandle.
error_type CALLING_CONVENTION RealObject_Create(RealObjectHandle **result)
Creates a new RealObject instance.
error_type CALLING_CONVENTION RealObject_Release(RealObjectHandle *handle)
Decrement the internal reference counter.
error_type CALLING_CONVENTION RealObject_GetValue(RealObjectHandle *handle, real_type *result)
Return objects contained real value.
error_type CALLING_CONVENTION RealObject_SetValue(RealObjectHandle *handle, real_type value)
Set objects new real value.
uint32_t error_type
This is return value type of all API functions.
Definition c_types.h:25
int32_t integer_type
32-bit signed integer
Definition c_types.h:51
double real_type
Floating point values.
Definition c_types.h:41