24 #ifndef _FSCRT_RENDERER_R_H_ 25 #define _FSCRT_RENDERER_R_H_ 58 #ifndef _FSCRT_DEF_HANDLE_RENDERER_ 59 #define _FSCRT_DEF_HANDLE_RENDERER_ 62 FSCRT_DEFINEHANDLE(FSCRT_RENDERER);
66 #ifndef _FSCRT_DEF_MACRO_RENDERERFLAG_ 67 #define _FSCRT_DEF_MACRO_RENDERERFLAG_ 75 #define FSCRT_RENDERERFLAG_LCDTEXT 0x01 77 #define FSCRT_RENDERERFLAG_BGRSTRIPE 0x02 79 #define FSCRT_RENDERERFLAG_USEANTIALIAS 0x04 81 #define FSCRT_RENDERERFLAG_GRAYSCALE 0x08 83 #define FSCRT_RENDERERFLAG_NONATIVETEXT 0x10 85 #define FSCRT_RENDERERFLAG_TEXTGAMMA 0x20 90 #ifndef _FSCRT_DEF_MACRO_BLENDMODE_ 91 #define _FSCRT_DEF_MACRO_BLENDMODE_ 102 #define FSCRT_RENDERERBLEND_NORMAL 0 109 #define FSCRT_RENDERERBLEND_MULTIPLY 1 116 #define FSCRT_RENDERERBLEND_SCREEN 2 123 #define FSCRT_RENDERERBLEND_OVERLAY 3 130 #define FSCRT_RENDERERBLEND_DARKEN 4 137 #define FSCRT_RENDERERBLEND_LIGHTEN 5 147 #define FSCRT_RENDERERBLEND_COLORDODGE 6 157 #define FSCRT_RENDERERBLEND_COLORBURN 7 166 #define FSCRT_RENDERERBLEND_HARDLIGHT 8 178 #define FSCRT_RENDERERBLEND_SOFTLIGHT 9 185 #define FSCRT_RENDERERBLEND_DIFFERENCE 10 192 #define FSCRT_RENDERERBLEND_EXCLUSION 11 199 #define FSCRT_RENDERERBLEND_HUE 21 206 #define FSCRT_RENDERERBLEND_SATURATION 22 213 #define FSCRT_RENDERERBLEND_COLOR 23 220 #define FSCRT_RENDERERBLEND_LUMINOSITY 24 226 #ifndef _FSCRT_DEF_MACRO_LINECAP_ 227 #define _FSCRT_DEF_MACRO_LINECAP_ 238 #define FSCRT_LINECAP_BUTT 0 244 #define FSCRT_LINECAP_ROUND 1 250 #define FSCRT_LINECAP_SQUARE 2 255 #ifndef _FSCRT_DEF_MACRO_LINEJOIN_ 256 #define _FSCRT_DEF_MACRO_LINEJOIN_ 267 #define FSCRT_LINEJOIN_MITER 0 275 #define FSCRT_LINEJOIN_ROUND 1 281 #define FSCRT_LINEJOIN_BEVEL 2 float FS_FLOAT
32-bit floating-point number, single precision.
Definition: fs_base_r.h:148
FS_RESULT FSCRT_Renderer_SetFlags(FSCRT_RENDERER renderer, FS_DWORD flags)
Set flags of a renderer.
FS_RESULT FSCRT_Renderer_SetGamma(FS_FLOAT gamma)
Set gamma value for text rendering.
Structure for rectangle, in integer.
Definition: fs_base_r.h:2056
unsigned int FS_DWORD
32-bit unsigned integer.
Definition: fs_base_r.h:142
FS_RESULT FSCRT_Renderer_CreateOnBitmap(FSCRT_BITMAP bitmap, FSCRT_RENDERER *renderer)
Create a renderer on a bitmap object.
int FS_INT32
32-bit signed integer.
Definition: fs_base_r.h:175
FS_RESULT FSCRT_Renderer_Release(FSCRT_RENDERER renderer)
Release a given renderer object.
FS_RESULT FSCRT_Renderer_SetClipRect(FSCRT_RENDERER renderer, const FSCRT_RECT *clipRect)
Set the current clipping rectangle into a renderer.
FS_RESULT FSCRT_Renderer_SetDitherBits(FSCRT_RENDERER renderer, FS_INT32 bits)
Set bitmap dither bits of a renderer, support for 8bpp bitmap device.
int FS_RESULT
Result code for functions in Foxit PDF SDK.
Definition: fs_base_r.h:160
FS_RESULT FSCRT_Renderer_DrawBitmap(FSCRT_RENDERER renderer, FS_INT32 dstLeft, FS_INT32 dstTop, FSCRT_BITMAP srcBitmap, const FSCRT_RECT *srcRect)
Render a bitmap object.