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 FPDFSDK_INCLUDE_FSDK_DEFINE_H_ | 7 #ifndef FPDFSDK_INCLUDE_FSDK_DEFINE_H_ |
8 #define FPDFSDK_INCLUDE_FSDK_DEFINE_H_ | 8 #define FPDFSDK_INCLUDE_FSDK_DEFINE_H_ |
9 | 9 |
| 10 #include "../../core/include/fpdfapi/fpdfapi.h" |
10 #include "../../core/include/fpdfapi/fpdf_module.h" | 11 #include "../../core/include/fpdfapi/fpdf_module.h" |
11 #include "../../core/include/fpdfapi/fpdf_pageobj.h" | 12 #include "../../core/include/fpdfapi/fpdf_pageobj.h" |
12 #include "../../core/include/fpdfapi/fpdf_parser.h" | 13 #include "../../core/include/fpdfapi/fpdf_parser.h" |
13 #include "../../core/include/fpdfapi/fpdf_render.h" | 14 #include "../../core/include/fpdfapi/fpdf_render.h" |
14 #include "../../core/include/fpdfapi/fpdf_serial.h" | 15 #include "../../core/include/fpdfapi/fpdf_serial.h" |
15 #include "../../core/include/fpdfapi/fpdfapi.h" | |
16 #include "../../core/include/fpdfdoc/fpdf_doc.h" | 16 #include "../../core/include/fpdfdoc/fpdf_doc.h" |
17 #include "../../core/include/fpdfdoc/fpdf_vt.h" | 17 #include "../../core/include/fpdfdoc/fpdf_vt.h" |
18 #include "../../core/include/fxge/fx_ge.h" | 18 #include "../../core/include/fxge/fx_ge.h" |
19 #include "../../core/include/fxge/fx_ge_win32.h" | 19 #include "../../core/include/fxge/fx_ge_win32.h" |
20 #include "../../public/fpdfview.h" | 20 #include "public/fpdfview.h" |
21 | 21 |
22 #ifdef _WIN32 | 22 #ifdef _WIN32 |
23 #include <tchar.h> | 23 #include <tchar.h> |
24 #include <math.h> | 24 #include <math.h> |
25 #endif | 25 #endif |
26 | 26 |
27 // Convert a #FX_ARGB to a #FX_COLORREF. | 27 // Convert a #FX_ARGB to a #FX_COLORREF. |
28 #define FX_ARGBTOCOLORREF(argb) \ | 28 #define FX_ARGBTOCOLORREF(argb) \ |
29 ((((FX_DWORD)argb & 0x00FF0000) >> 16) | ((FX_DWORD)argb & 0x0000FF00) | \ | 29 ((((FX_DWORD)argb & 0x00FF0000) >> 16) | ((FX_DWORD)argb & 0x0000FF00) | \ |
30 (((FX_DWORD)argb & 0x000000FF) << 16)) | 30 (((FX_DWORD)argb & 0x000000FF) << 16)) |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 int rotate, | 70 int rotate, |
71 int flags, | 71 int flags, |
72 FX_BOOL bNeedToRestore, | 72 FX_BOOL bNeedToRestore, |
73 IFSDK_PAUSE_Adapter* pause); | 73 IFSDK_PAUSE_Adapter* pause); |
74 | 74 |
75 void CheckUnSupportError(CPDF_Document* pDoc, FX_DWORD err_code); | 75 void CheckUnSupportError(CPDF_Document* pDoc, FX_DWORD err_code); |
76 void CheckUnSupportAnnot(CPDF_Document* pDoc, const CPDF_Annot* pPDFAnnot); | 76 void CheckUnSupportAnnot(CPDF_Document* pDoc, const CPDF_Annot* pPDFAnnot); |
77 void ProcessParseError(FX_DWORD err_code); | 77 void ProcessParseError(FX_DWORD err_code); |
78 | 78 |
79 #endif // FPDFSDK_INCLUDE_FSDK_DEFINE_H_ | 79 #endif // FPDFSDK_INCLUDE_FSDK_DEFINE_H_ |
OLD | NEW |