| 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 // NOTE: External docs refer to this file as "fpdfview.h", so do not rename | 7 // NOTE: External docs refer to this file as "fpdfview.h", so do not rename |
| 8 // despite lack of consistency with other public files. | 8 // despite lack of consistency with other public files. |
| 9 | 9 |
| 10 #ifndef PUBLIC_FPDFVIEW_H_ | 10 #ifndef PUBLIC_FPDFVIEW_H_ |
| (...skipping 564 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 575 // None. | 575 // None. |
| 576 DLLEXPORT void STDCALL FPDF_RenderPageBitmap(FPDF_BITMAP bitmap, | 576 DLLEXPORT void STDCALL FPDF_RenderPageBitmap(FPDF_BITMAP bitmap, |
| 577 FPDF_PAGE page, | 577 FPDF_PAGE page, |
| 578 int start_x, | 578 int start_x, |
| 579 int start_y, | 579 int start_y, |
| 580 int size_x, | 580 int size_x, |
| 581 int size_y, | 581 int size_y, |
| 582 int rotate, | 582 int rotate, |
| 583 int flags); | 583 int flags); |
| 584 | 584 |
| 585 FPDF_BITMAP FPDF_RenderPageSkp(FPDF_PAGE page, |
| 586 int size_x, |
| 587 int size_y); |
| 588 |
| 585 // Function: FPDF_ClosePage | 589 // Function: FPDF_ClosePage |
| 586 // Close a loaded PDF page. | 590 // Close a loaded PDF page. |
| 587 // Parameters: | 591 // Parameters: |
| 588 // page - Handle to the loaded page. | 592 // page - Handle to the loaded page. |
| 589 // Return value: | 593 // Return value: |
| 590 // None. | 594 // None. |
| 591 DLLEXPORT void STDCALL FPDF_ClosePage(FPDF_PAGE page); | 595 DLLEXPORT void STDCALL FPDF_ClosePage(FPDF_PAGE page); |
| 592 | 596 |
| 593 // Function: FPDF_CloseDocument | 597 // Function: FPDF_CloseDocument |
| 594 // Close a loaded PDF document. | 598 // Close a loaded PDF document. |
| (...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 938 // Function: FPDF_BStr_Clear | 942 // Function: FPDF_BStr_Clear |
| 939 // Helper function to clear a byte string. | 943 // Helper function to clear a byte string. |
| 940 DLLEXPORT FPDF_RESULT STDCALL FPDF_BStr_Clear(FPDF_BSTR* str); | 944 DLLEXPORT FPDF_RESULT STDCALL FPDF_BStr_Clear(FPDF_BSTR* str); |
| 941 #endif // PDF_ENABLE_XFA | 945 #endif // PDF_ENABLE_XFA |
| 942 | 946 |
| 943 #ifdef __cplusplus | 947 #ifdef __cplusplus |
| 944 } | 948 } |
| 945 #endif | 949 #endif |
| 946 | 950 |
| 947 #endif // PUBLIC_FPDFVIEW_H_ | 951 #endif // PUBLIC_FPDFVIEW_H_ |
| OLD | NEW |