fs_renderer_apple_r.h
Go to the documentation of this file.
1 
18 #ifndef _FSCRT_RENDERER_APPLE_R_H_
19 #define _FSCRT_RENDERER_APPLE_R_H_
20 
32 #ifdef __cplusplus
33 extern "C" {
34 #endif
35 
36 #include "TargetConditionals.h"
37 #if (defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE == 1) || (defined(TARGET_IPHONE_SIMULATOR) && TARGET_IPHONE_SIMULATOR == 1)
38 #import <CoreGraphics/CoreGraphics.h>
39 #else
40 #import <Carbon/Carbon.h>
41 #endif
42 
43 #ifndef _FSCRT_DEF_MACRO_APPLEDEVICE_
44 #define _FSCRT_DEF_MACRO_APPLEDEVICE_
45 
51 #define FSCRT_APPLEDEVICE_DISPLAY 1
52 
53 #define FSCRT_APPLEDEVICE_PRINTER 2
54 
56 #endif /* _FSCRT_DEF_MACRO_APPLEDEVICE_ */
57 
87 FS_RESULT FSCRT_Renderer_CreateOnCGContext(CGContextRef context, FS_INT32 deviceClass, FSCRT_RENDERER* renderer);
88 
89 
90 #ifdef __cplusplus
91 };
92 #endif
93  /* group FSRENDERER_APPLE */
95 
96 #endif /* _FSCRT_RENDERER_APPLE_R_H_ */
FS_RESULT FSCRT_Renderer_CreateOnCGContext(CGContextRef context, FS_INT32 deviceClass, FSCRT_RENDERER *renderer)
Create a renderer on an Apple quartz context.
int FS_INT32
32-bit signed integer.
Definition: fs_base_r.h:175
int FS_RESULT
Result code for functions in Foxit PDF SDK.
Definition: fs_base_r.h:160

Foxit Corporation