Vanilla.PDF  1.5.2
Cross-platform toolkit for creating and modifying PDF documents
c_resource_dictionary.h
Go to the documentation of this file.
1 #ifndef _C_RESOURCE_DICTIONARY_H
2 #define _C_RESOURCE_DICTIONARY_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 
39  VANILLAPDF_API error_type CALLING_CONVENTION ResourceDictionary_GetFontMap(ResourceDictionaryHandle* handle, FontMapHandle** result);
40 
44  VANILLAPDF_API error_type CALLING_CONVENTION ResourceDictionary_ToUnknown(ResourceDictionaryHandle* handle, IUnknownHandle** result);
45 
49  VANILLAPDF_API error_type CALLING_CONVENTION ResourceDictionary_FromUnknown(IUnknownHandle* handle, ResourceDictionaryHandle** result);
50 
55  VANILLAPDF_API error_type CALLING_CONVENTION ResourceDictionary_Release(ResourceDictionaryHandle* handle);
56 
59 #ifdef __cplusplus
60 };
61 #endif
62 
63 #endif /* _C_RESOURCE_DICTIONARY_H */
error_type ResourceDictionary_GetFontMap(ResourceDictionaryHandle *handle, FontMapHandle **result)
A dictionary that maps resource names to font dictionaries.
error_type ResourceDictionary_ToUnknown(ResourceDictionaryHandle *handle, IUnknownHandle **result)
Reinterpret current object as IUnknownHandle.
error_type ResourceDictionary_Release(ResourceDictionaryHandle *handle)
Decrement the internal reference counter.
A dictionary that maps resource names to font dictionaries.
This file contains all type forward declarations returned by the library API.
A content stream's named resources shall be defined by a resource dictionary, which shall enumerate t...
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...
This file contains types and constants used as parameters or return values.
Base class for reference counting.
error_type ResourceDictionary_FromUnknown(IUnknownHandle *handle, ResourceDictionaryHandle **result)
Convert IUnknownHandle to ResourceDictionaryHandle.