Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Side by Side Diff: public/fpdfview.h

Issue 2323203002: Define behaviors of FPDF_RenderPageBitmap_Retail and FPDF_FFLDraw. (Closed)
Patch Set: roll DEPS Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « public/fpdf_progressive.h ('k') | samples/pdfium_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 577 matching lines...) Expand 10 before | Expand all | Expand 10 after
588 // start_y - Top pixel position of the display area in bitmap 588 // start_y - Top pixel position of the display area in bitmap
589 // coordinates. 589 // coordinates.
590 // size_x - Horizontal size (in pixels) for displaying the page. 590 // size_x - Horizontal size (in pixels) for displaying the page.
591 // size_y - Vertical size (in pixels) for displaying the page. 591 // size_y - Vertical size (in pixels) for displaying the page.
592 // rotate - Page orientation: 592 // rotate - Page orientation:
593 // 0 (normal) 593 // 0 (normal)
594 // 1 (rotated 90 degrees clockwise) 594 // 1 (rotated 90 degrees clockwise)
595 // 2 (rotated 180 degrees) 595 // 2 (rotated 180 degrees)
596 // 3 (rotated 90 degrees counter-clockwise) 596 // 3 (rotated 90 degrees counter-clockwise)
597 // flags - 0 for normal display, or combination of flags 597 // flags - 0 for normal display, or combination of flags
598 // defined above. 598 // defined above. With FPDF_ANNOT flag, it renders all
599 // annotations that does not require user-interaction,
600 // which are all annotations except widget and popup
601 // annotations.
599 // Return value: 602 // Return value:
600 // None. 603 // None.
601 DLLEXPORT void STDCALL FPDF_RenderPageBitmap(FPDF_BITMAP bitmap, 604 DLLEXPORT void STDCALL FPDF_RenderPageBitmap(FPDF_BITMAP bitmap,
602 FPDF_PAGE page, 605 FPDF_PAGE page,
603 int start_x, 606 int start_x,
604 int start_y, 607 int start_y,
605 int size_x, 608 int size_x,
606 int size_y, 609 int size_y,
607 int rotate, 610 int rotate,
608 int flags); 611 int flags);
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
969 // Function: FPDF_BStr_Clear 972 // Function: FPDF_BStr_Clear
970 // Helper function to clear a byte string. 973 // Helper function to clear a byte string.
971 DLLEXPORT FPDF_RESULT STDCALL FPDF_BStr_Clear(FPDF_BSTR* str); 974 DLLEXPORT FPDF_RESULT STDCALL FPDF_BStr_Clear(FPDF_BSTR* str);
972 #endif // PDF_ENABLE_XFA 975 #endif // PDF_ENABLE_XFA
973 976
974 #ifdef __cplusplus 977 #ifdef __cplusplus
975 } 978 }
976 #endif 979 #endif
977 980
978 #endif // PUBLIC_FPDFVIEW_H_ 981 #endif // PUBLIC_FPDFVIEW_H_
OLDNEW
« no previous file with comments | « public/fpdf_progressive.h ('k') | samples/pdfium_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698