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

Side by Side Diff: public/fpdf_transformpage.h

Issue 1137233002: Merge to XFA: Make (and verify) public/ files compile under C. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Test new XFA APIs. 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 | « public/fpdf_save.h ('k') | public/fpdfview.h » ('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 #ifndef _TRANSFORMPAGE_H_ 7 #ifndef _TRANSFORMPAGE_H_
8 #define _TRANSFORMPAGE_H_ 8 #define _TRANSFORMPAGE_H_
9 9
10 #ifndef _FPDFVIEW_H_ 10 #ifndef _FPDFVIEW_H_
11 #include "fpdfview.h" 11 #include "fpdfview.h"
12 #endif 12 #endif
13 13
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17
14 typedef void* FPDF_PAGEARCSAVER; 18 typedef void* FPDF_PAGEARCSAVER;
15 typedef void* FPDF_PAGEARCLOADER; 19 typedef void* FPDF_PAGEARCLOADER;
16 /** 20 /**
17 * Set "MediaBox" entry to the page dictionary. 21 * Set "MediaBox" entry to the page dictionary.
18 * @param[in] page - Handle to a page. 22 * @param[in] page - Handle to a page.
19 * @param[in] left - The left of the rectangle. 23 * @param[in] left - The left of the rectangle.
20 * @param[in] bottom - The bottom of the rectangle. 24 * @param[in] bottom - The bottom of the rectangle.
21 * @param[in] right - The right of the rectangle. 25 * @param[in] right - The right of the rectangle.
22 * @param[in] top - The top of the rectangle. 26 * @param[in] top - The top of the rectangle.
23 * @retval None. 27 * @retval None.
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 /** 111 /**
108 * Clip the page content, the page content that outside the clipping region becom e invisible. 112 * Clip the page content, the page content that outside the clipping region becom e invisible.
109 * 113 *
110 * @param[in] page - A page handle. 114 * @param[in] page - A page handle.
111 * @param[in] clipPath - A handle to the clip path. 115 * @param[in] clipPath - A handle to the clip path.
112 * @Note. A clip path will be inserted before the page content stream or content array. In this way, the page content will be clipped 116 * @Note. A clip path will be inserted before the page content stream or content array. In this way, the page content will be clipped
113 * by this clip path. The method can not support this feature for the document co nsists of dynamic XFA fields. 117 * by this clip path. The method can not support this feature for the document co nsists of dynamic XFA fields.
114 */ 118 */
115 DLLEXPORT void STDCALL FPDFPage_InsertClipPath(FPDF_PAGE page,FPDF_CLIPPATH clip Path); 119 DLLEXPORT void STDCALL FPDFPage_InsertClipPath(FPDF_PAGE page,FPDF_CLIPPATH clip Path);
116 120
121 #ifdef __cplusplus
122 }
117 #endif 123 #endif
118 124
125 #endif
126
OLDNEW
« no previous file with comments | « public/fpdf_save.h ('k') | public/fpdfview.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698