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

Side by Side Diff: fpdfsdk/include/fpdfview.h

Issue 1115513002: Expose additional flags for rasterization. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Trying to get issue clean for landing. Created 5 years, 7 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 | « no previous file | fpdfsdk/src/fpdfview.cpp » ('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 7
8 #ifndef _FPDFVIEW_H_ 8 #ifndef _FPDFVIEW_H_
9 #define _FPDFVIEW_H_ 9 #define _FPDFVIEW_H_
10 10
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 #define FPDF_ANNOT 0x01 // Set if annotations ar e to be rendered. 329 #define FPDF_ANNOT 0x01 // Set if annotations ar e to be rendered.
330 #define FPDF_LCD_TEXT 0x02 // Set if using text rendering o ptimized for LCD display. 330 #define FPDF_LCD_TEXT 0x02 // Set if using text rendering o ptimized for LCD display.
331 #define FPDF_NO_NATIVETEXT 0x04 // Don't use the native text out put available on some platforms 331 #define FPDF_NO_NATIVETEXT 0x04 // Don't use the native text out put available on some platforms
332 #define FPDF_GRAYSCALE 0x08 // Grayscale output. 332 #define FPDF_GRAYSCALE 0x08 // Grayscale output.
333 #define FPDF_DEBUG_INFO 0x80 // Set if you want to get some d ebug info. 333 #define FPDF_DEBUG_INFO 0x80 // Set if you want to get some d ebug info.
334 // Please discuss with Foxit first if you need to collect debug info. 334 // Please discuss with Foxit first if you need to collect debug info.
335 #define FPDF_NO_CATCH 0x100 // Set if you don't want to catc h exception. 335 #define FPDF_NO_CATCH 0x100 // Set if you don't want to catc h exception.
336 #define FPDF_RENDER_LIMITEDIMAGECACHE 0x200 // Limit image cache size. 336 #define FPDF_RENDER_LIMITEDIMAGECACHE 0x200 // Limit image cache size.
337 #define FPDF_RENDER_FORCEHALFTONE 0x400 // Always use halftone f or image stretching. 337 #define FPDF_RENDER_FORCEHALFTONE 0x400 // Always use halftone f or image stretching.
338 #define FPDF_PRINTING 0x800 // Render for printing. 338 #define FPDF_PRINTING 0x800 // Render for printing.
339 #define FPDF_RENDER_NO_SMOOTHTEXT 0x1000 // Set to disable anti-aliasing on text.
340 #define FPDF_RENDER_NO_SMOOTHIMAGE 0x2000 // Set to disable anti-aliasing on images.
341 #define FPDF_RENDER_NO_SMOOTHPATH 0x4000 // Set to disable anti-aliasing on paths.
339 #define FPDF_REVERSE_BYTE_ORDER 0x10 //set whether render in a reverse Byte order, this flag only 342 #define FPDF_REVERSE_BYTE_ORDER 0x10 //set whether render in a reverse Byte order, this flag only
340 //enable when render to a bitmap. 343 //enable when render to a bitmap.
341 #ifdef _WIN32 344 #ifdef _WIN32
342 // Function: FPDF_RenderPage 345 // Function: FPDF_RenderPage
343 // Render contents in a page to a device (screen, bitmap, o r printer). 346 // Render contents in a page to a device (screen, bitmap, o r printer).
344 // This function is only supported on Windows system. 347 // This function is only supported on Windows system.
345 // Parameters: 348 // Parameters:
346 // dc - Handle to device context . 349 // dc - Handle to device context .
347 // page - Handle to the page. Returned by FPDF_LoadPage function. 350 // page - Handle to the page. Returned by FPDF_LoadPage function.
348 // start_x - Left pixel position of the displ ay area in the device coordinate. 351 // start_x - Left pixel position of the displ ay area in the device coordinate.
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
636 // If buflen is not sufficiently large, it will be set t o -1 upon return. 639 // If buflen is not sufficiently large, it will be set t o -1 upon return.
637 // 640 //
638 DLLEXPORT FPDF_DEST STDCALL FPDF_GetNamedDest(FPDF_DOCUMENT document, int index, void* buffer, long& buflen); 641 DLLEXPORT FPDF_DEST STDCALL FPDF_GetNamedDest(FPDF_DOCUMENT document, int index, void* buffer, long& buflen);
639 642
640 643
641 #ifdef __cplusplus 644 #ifdef __cplusplus
642 }; 645 };
643 #endif 646 #endif
644 647
645 #endif // _FPDFVIEW_H_ 648 #endif // _FPDFVIEW_H_
OLDNEW
« no previous file with comments | « no previous file | fpdfsdk/src/fpdfview.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698