Definitions for a rendering engine on Apple.
Definitions and functions in this module are included in fs_renderer_apple_r.h.
Module: Renderer
License Identifier: Renderer/All
Available License Right: Unnecessary.
More...
Functions | |
FS_RESULT | FSCRT_Renderer_CreateOnCGContext (CGContextRef context, FS_INT32 deviceClass, FSCRT_RENDERER *renderer) |
Create a renderer on an Apple quartz context. More... | |
Macro Definitions for Apple devices | |
#define | FSCRT_APPLEDEVICE_DISPLAY 1 |
Display device, like monitor. | |
#define | FSCRT_APPLEDEVICE_PRINTER 2 |
Raster based printers. | |
Definitions for a rendering engine on Apple.
Definitions and functions in this module are included in fs_renderer_apple_r.h.
Module: Renderer
License Identifier: Renderer/All
Available License Right: Unnecessary.
FS_RESULT FSCRT_Renderer_CreateOnCGContext | ( | CGContextRef | context, |
FS_INT32 | deviceClass, | ||
FSCRT_RENDERER * | renderer | ||
) |
Create a renderer on an Apple quartz context.
Renderer is a term of graphics engine in Foxit PDF SDK, it provides basic management and drawing operations as a common feature.
There are two approaches to use renderer: one is to draw on a renderer directly, the other is to output document contents by using a graphics context.
PDF module provides a rendering context to output page contents. Please refer to function FSPDF_RenderContext_Create.
[in] | context | Handle to a CGContextRef object which is an iOS/Mac device. |
[in] | deviceClass | Device class. Please refer to macro definitions FSCRT_APPLEDEVICE_XXX and this should be one of these macros. |
[out] | renderer | Pointer to a FSCRT_RENDERER handle that receives a new renderer object. |