Vanilla.PDF  2.0.0
Cross-platform toolkit for creating and modifying PDF documents
c_font_map.h
Go to the documentation of this file.
1#ifndef _C_FONT_MAP_H
2#define _C_FONT_MAP_H
3
7
8#ifdef __cplusplus
9extern "C"
10{
11#endif
12
35 VANILLAPDF_API error_type CALLING_CONVENTION FontMap_Contains(FontMapHandle* handle, const NameObjectHandle* key_handle, boolean_type* result);
36
40 VANILLAPDF_API error_type CALLING_CONVENTION FontMap_Find(FontMapHandle* handle, const NameObjectHandle* key_handle, FontHandle** result);
41
45 VANILLAPDF_API error_type CALLING_CONVENTION FontMap_ToUnknown(FontMapHandle* handle, IUnknownHandle** result);
46
50 VANILLAPDF_API error_type CALLING_CONVENTION FontMap_FromUnknown(IUnknownHandle* handle, FontMapHandle** result);
51
56 VANILLAPDF_API error_type CALLING_CONVENTION FontMap_Release(FontMapHandle* handle);
57
60#ifdef __cplusplus
61};
62#endif
63
64#endif /* _C_FONT_MAP_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 all fonts in to representable inside a PDF document.
A dictionary that maps resource names to font dictionaries.
error_type CALLING_CONVENTION FontMap_ToUnknown(FontMapHandle *handle, IUnknownHandle **result)
Reinterpret current object as IUnknownHandle.
error_type CALLING_CONVENTION FontMap_Find(FontMapHandle *handle, const NameObjectHandle *key_handle, FontHandle **result)
Find mapped value for key key_handle.
error_type CALLING_CONVENTION FontMap_FromUnknown(IUnknownHandle *handle, FontMapHandle **result)
Convert IUnknownHandle to FontMapHandle.
error_type CALLING_CONVENTION FontMap_Release(FontMapHandle *handle)
Decrement the internal reference counter.
error_type CALLING_CONVENTION FontMap_Contains(FontMapHandle *handle, const NameObjectHandle *key_handle, boolean_type *result)
Determine if collection contains key key_handle.
Base class for reference counting.
A name object is an atomic symbol uniquely defined by a sequence of characters.
uint32_t error_type
This is return value type of all API functions.
Definition c_types.h:25
int8_t boolean_type
Boolean type supported in C.
Definition c_types.h:31