Index: public/fpdfview.h |
diff --git a/public/fpdfview.h b/public/fpdfview.h |
index 469053c4e8479debec7affb871d8bf5f796bfdc4..902e3e04505c1f695e0ee8504b58c8b486ef20e9 100644 |
--- a/public/fpdfview.h |
+++ b/public/fpdfview.h |
@@ -596,7 +596,7 @@ DLLEXPORT void STDCALL FPDF_RenderPage(HDC dc, |
// 3 (rotated 90 degrees counter-clockwise) |
// flags - 0 for normal display, or combination of flags |
// defined above. With FPDF_ANNOT flag, it renders all |
-// annotations that does not require user-interaction, |
+// annotations that do not require user-interaction, |
// which are all annotations except widget and popup |
// annotations. |
// Return value: |
@@ -610,6 +610,28 @@ DLLEXPORT void STDCALL FPDF_RenderPageBitmap(FPDF_BITMAP bitmap, |
int rotate, |
int flags); |
+// Function: FPDF_RenderPageBitmapWithMatrix |
+// Render contents of a page to a device independent bitmap. |
+// Parameters: |
+// bitmap - Handle to the device independent bitmap (as the |
+// output buffer). The bitmap handle can be created |
+// by FPDFBitmap_Create. |
+// page - Handle to the page. Returned by FPDF_LoadPage |
+// matrix - The transform matrix. |
+// clipping - The rect to clip to. |
+// flags - 0 for normal display, or combination of flags |
dsinclair
2016/11/23 14:08:44
combination of the Page Rendering flags defined ab
Lei Zhang
2016/11/23 18:30:31
Done.
|
+// defined above. With FPDF_ANNOT flag, it renders all |
dsinclair
2016/11/23 14:08:44
With the
Lei Zhang
2016/11/23 18:30:31
Done.
|
+// annotations that do not require user-interaction, |
+// which are all annotations except widget and popup |
+// annotations. |
+// Return value: |
+// None. |
+DLLEXPORT void STDCALL FPDF_RenderPageBitmapWithMatrix(FPDF_BITMAP bitmap, |
+ FPDF_PAGE page, |
+ const FS_MATRIX* matrix, |
+ const FS_RECTF* clipping, |
+ int flags); |
+ |
#ifdef _SKIA_SUPPORT_ |
DLLEXPORT FPDF_RECORDER STDCALL FPDF_RenderPageSkp(FPDF_PAGE page, |
int size_x, |