| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |