Go to the documentation of this file.00001
00020 #ifndef _FPDFPROGRESSIVE_H_
00021 #define _FPDFPROGRESSIVE_H_
00022 #include "fpdfview.h"
00023 #ifdef _WIN32
00024 #define DLLEXPORT __declspec( dllexport )
00025 #define STDCALL __stdcall
00026 #else
00027 #define DLLEXPORT
00028 #define STDCALL
00029 #endif
00030
00031 #ifdef __cplusplus
00032 extern "C" {
00033 #endif
00034
00036 #define FPDF_RENDER_READER 0
00037 #define FPDF_RENDER_TOBECOUNTINUED 1
00038 #define FPDF_RENDER_DONE 2
00039 #define FPDF_RENDER_FAILED 3
00040
00042 typedef struct _IFSDK_PAUSE
00043 {
00047 int version;
00048
00054 FPDF_BOOL (*NeedToPauseNow) (struct _IFSDK_PAUSE* pThis);
00055
00059 void* user;
00060 } IFSDK_PAUSE;
00061
00082 DLLEXPORT int STDCALL FPDF_RenderPageBitmap_Start(FPDF_BITMAP bitmap, FPDF_PAGE page, int start_x, int start_y, int size_x,
00083 int size_y, int rotate, int flags, IFSDK_PAUSE * pause);
00084
00085 #ifdef _WIN32
00086
00102 DLLEXPORT int STDCALL FPDF_RenderPage_Start(HDC dc, FPDF_PAGE page, int start_x, int start_y, int size_x,
00103 int size_y, int rotate, int flags, IFSDK_PAUSE * pause);
00104 #endif
00105
00114 DLLEXPORT int STDCALL FPDF_RenderPage_Continue(FPDF_PAGE page,IFSDK_PAUSE * pause);
00115
00121 DLLEXPORT int STDCALL FPDF_RenderPage_EstimateProgress(FPDF_PAGE page);
00122
00129 DLLEXPORT void STDCALL FPDF_RenderPage_Close(FPDF_PAGE page);
00130
00131 #ifdef __cplusplus
00132 };
00133 #endif
00134
00135 #endif
00136
00137
00139