Vanilla.PDF  1.5.1
Cross-platform toolkit for creating and modifying PDF documents
c_content_instruction.h
Go to the documentation of this file.
1 #ifndef _C_CONTENT_INSTRUCTION_H
2 #define _C_CONTENT_INSTRUCTION_H
3 
4 #include "vanillapdf/c_export.h"
5 #include "vanillapdf/c_handles.h"
6 #include "vanillapdf/c_values.h"
7 
8 #ifdef __cplusplus
9 extern "C"
10 {
11 #endif
12 
29  typedef enum {
30  ContentInstructionType_Undefined = 0,
31 
37 
44 
53  VANILLAPDF_API error_type CALLING_CONVENTION ContentInstruction_GetInstructionType(ContentInstructionHandle* handle, ContentInstructionType* result);
54 
58  VANILLAPDF_API error_type CALLING_CONVENTION ContentInstruction_ToOperation(ContentInstructionHandle* handle, ContentOperationHandle** result);
59 
63  VANILLAPDF_API error_type CALLING_CONVENTION ContentInstruction_ToUnknown(ContentInstructionHandle* handle, IUnknownHandle** result);
64 
68  VANILLAPDF_API error_type CALLING_CONVENTION ContentInstruction_FromUnknown(IUnknownHandle* handle, ContentInstructionHandle** result);
69 
74  VANILLAPDF_API error_type CALLING_CONVENTION ContentInstruction_Release(ContentInstructionHandle* handle);
75 
78 #ifdef __cplusplus
79 };
80 #endif
81 
82 #endif /* _C_CONTENT_INSTRUCTION_H */
error_type ContentInstruction_ToOperation(ContentInstructionHandle *handle, ContentOperationHandle **result)
Reinterpret current object as ContentOperationHandle.
Atomic operation modifying graphics state parameters.
Definition: c_content_instruction.h:36
error_type ContentInstruction_ToUnknown(ContentInstructionHandle *handle, IUnknownHandle **result)
Reinterpret current object as IUnknownHandle.
This file contains all type forward declarations returned by the library API.
ContentInstructionType
Available content instruction types.
Definition: c_content_instruction.h:29
Base class for all content objects and operations.
error_type ContentInstruction_GetInstructionType(ContentInstructionHandle *handle, ContentInstructionType *result)
Get derived type of current object.
A sequence of content instructions grouped within a single object.
Definition: c_content_instruction.h:42
error_type ContentInstruction_FromUnknown(IUnknownHandle *handle, ContentInstructionHandle **result)
Convert IUnknownHandle to ContentInstructionHandle.
uint32_t error_type
This is return value type of all API functions.
Definition: c_types.h:25
This file contains macro declarations for importing and exporting symbols from library boundaries...
error_type ContentInstruction_Release(ContentInstructionHandle *handle)
Decrement the internal reference counter.
Atomic operation modifying graphics state parameters.
This file contains types and constants used as parameters or return values.
Base class for reference counting.