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

Side by Side Diff: public/fpdf_transformpage.h

Issue 1130843003: Make (and verify) public/ files compile under C. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Blank line. 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 /** 106 /**
103 * Clip the page content, the page content that outside the clipping region becom e invisible. 107 * Clip the page content, the page content that outside the clipping region becom e invisible.
104 * 108 *
105 * @param[in] page - A page handle. 109 * @param[in] page - A page handle.
106 * @param[in] clipPath - A handle to the clip path. 110 * @param[in] clipPath - A handle to the clip path.
107 * @Note. A clip path will be inserted before the page content stream or content array. In this way, the page content will be clipped 111 * @Note. A clip path will be inserted before the page content stream or content array. In this way, the page content will be clipped
108 * by this clip path. 112 * by this clip path.
109 */ 113 */
110 DLLEXPORT void STDCALL FPDFPage_InsertClipPath(FPDF_PAGE page,FPDF_CLIPPATH clip Path); 114 DLLEXPORT void STDCALL FPDFPage_InsertClipPath(FPDF_PAGE page,FPDF_CLIPPATH clip Path);
111 115
116 #ifdef __cplusplus
117 }
112 #endif 118 #endif
113 119
120 #endif
121
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