OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #ifndef PUBLIC_FPDF_PROGRESSIVE_H_ | 7 #ifndef PUBLIC_FPDF_PROGRESSIVE_H_ |
8 #define PUBLIC_FPDF_PROGRESSIVE_H_ | 8 #define PUBLIC_FPDF_PROGRESSIVE_H_ |
9 | 9 |
10 #include "fpdfview.h" | 10 #include "fpdfview.h" |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 // bitmap coordinate. | 59 // bitmap coordinate. |
60 // start_y - Top pixel position of the display area in the bitmap | 60 // start_y - Top pixel position of the display area in the bitmap |
61 // coordinate. | 61 // coordinate. |
62 // size_x - Horizontal size (in pixels) for displaying the page. | 62 // size_x - Horizontal size (in pixels) for displaying the page. |
63 // size_y - Vertical size (in pixels) for displaying the page. | 63 // size_y - Vertical size (in pixels) for displaying the page. |
64 // rotate - Page orientation: 0 (normal), 1 (rotated 90 degrees | 64 // rotate - Page orientation: 0 (normal), 1 (rotated 90 degrees |
65 // clockwise), | 65 // clockwise), |
66 // 2 (rotated 180 degrees), 3 (rotated 90 degrees | 66 // 2 (rotated 180 degrees), 3 (rotated 90 degrees |
67 // counter-clockwise). | 67 // counter-clockwise). |
68 // flags - 0 for normal display, or combination of flags | 68 // flags - 0 for normal display, or combination of flags |
69 // defined above. | 69 // defined in fpdfview.h. With FPDF_ANNOT flag, it |
| 70 // renders all annotations that does not require |
| 71 // user-interaction, which are all annotations except |
| 72 // widget and popup annotations. |
70 // pause - The IFSDK_PAUSE interface.A callback mechanism | 73 // pause - The IFSDK_PAUSE interface.A callback mechanism |
71 // allowing the page rendering process | 74 // allowing the page rendering process |
72 // Return value: | 75 // Return value: |
73 // Rendering Status. See flags for progressive process status for the | 76 // Rendering Status. See flags for progressive process status for the |
74 // details. | 77 // details. |
75 // | 78 // |
76 DLLEXPORT int STDCALL FPDF_RenderPageBitmap_Start(FPDF_BITMAP bitmap, | 79 DLLEXPORT int STDCALL FPDF_RenderPageBitmap_Start(FPDF_BITMAP bitmap, |
77 FPDF_PAGE page, | 80 FPDF_PAGE page, |
78 int start_x, | 81 int start_x, |
79 int start_y, | 82 int start_y, |
(...skipping 27 matching lines...) Expand all Loading... |
107 // function. | 110 // function. |
108 // Return value: | 111 // Return value: |
109 // NULL | 112 // NULL |
110 DLLEXPORT void STDCALL FPDF_RenderPage_Close(FPDF_PAGE page); | 113 DLLEXPORT void STDCALL FPDF_RenderPage_Close(FPDF_PAGE page); |
111 | 114 |
112 #ifdef __cplusplus | 115 #ifdef __cplusplus |
113 } | 116 } |
114 #endif | 117 #endif |
115 | 118 |
116 #endif // PUBLIC_FPDF_PROGRESSIVE_H_ | 119 #endif // PUBLIC_FPDF_PROGRESSIVE_H_ |
OLD | NEW |