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

Unified Diff: public/fpdfview.h

Issue 2608663003: Pdfium Patch to restore PS Path (Closed)
Patch Set: Created 4 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « fpdfsdk/fpdfview.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/fpdfview.h
diff --git a/public/fpdfview.h b/public/fpdfview.h
index 403f4e46ec3546634437de1b2efb4a4d924475f7..c5446bb98c01c2c76c0e8d41d41f2e347d0cf9cb 100644
--- a/public/fpdfview.h
+++ b/public/fpdfview.h
@@ -545,6 +545,9 @@ DLLEXPORT int STDCALL FPDF_GetPageSizeByIndex(FPDF_DOCUMENT document,
// Set whether to render in a reverse Byte order, this flag is only used when
// rendering to a bitmap.
#define FPDF_REVERSE_BYTE_ORDER 0x10
+// Set to compress output images, this flag is only used when the printer
+// supports postscript level 2 and not postscript level 3.
+#define FPDF_COMPRESS_IMAGES 0x20
#ifdef _WIN32
// Function: FPDF_RenderPage
@@ -570,6 +573,7 @@ DLLEXPORT int STDCALL FPDF_GetPageSizeByIndex(FPDF_DOCUMENT document,
// None.
DLLEXPORT void STDCALL FPDF_RenderPage(HDC dc,
FPDF_PAGE page,
+ int driver_type,
int start_x,
int start_y,
int size_x,
« no previous file with comments | « fpdfsdk/fpdfview.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698