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 _FX_SYSTEM | 7 #ifndef XFA_SRC_FGAS_INCLUDE_FX_SYS_H_ |
8 #define _FX_SYSTEM | 8 #define XFA_SRC_FGAS_INCLUDE_FX_SYS_H_ |
| 9 |
9 #ifdef __cplusplus | 10 #ifdef __cplusplus |
10 extern "C" { | 11 extern "C" { |
11 #endif | 12 #endif |
12 #define FX_RAD2DEG(r) ((r)*180.0f / FX_PI) | 13 #define FX_RAD2DEG(r) ((r)*180.0f / FX_PI) |
13 #define FX_DEG2RAD(a) ((a)*FX_PI / 180.0f) | 14 #define FX_DEG2RAD(a) ((a)*FX_PI / 180.0f) |
14 typedef int8_t* FX_LPINT8; | 15 typedef int8_t* FX_LPINT8; |
15 typedef int8_t const* FX_LPCINT8; | 16 typedef int8_t const* FX_LPCINT8; |
16 typedef int32_t* FX_LPINT32; | 17 typedef int32_t* FX_LPINT32; |
17 typedef int32_t const* FX_LPCINT32; | 18 typedef int32_t const* FX_LPCINT32; |
18 typedef long FX_LONG; | 19 typedef long FX_LONG; |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 CFX_WideString& wsAbsolutePath); | 56 CFX_WideString& wsAbsolutePath); |
56 typedef struct _FX_VERSION { | 57 typedef struct _FX_VERSION { |
57 FX_DWORD dwMajorVersion; | 58 FX_DWORD dwMajorVersion; |
58 FX_DWORD dwMinorVersion; | 59 FX_DWORD dwMinorVersion; |
59 FX_DWORD dwBuildVersion; | 60 FX_DWORD dwBuildVersion; |
60 } FX_VERSION, *FX_LPVERSION; | 61 } FX_VERSION, *FX_LPVERSION; |
61 typedef FX_VERSION const* FX_LPCVERSION; | 62 typedef FX_VERSION const* FX_LPCVERSION; |
62 #ifdef __cplusplus | 63 #ifdef __cplusplus |
63 }; | 64 }; |
64 #endif | 65 #endif |
65 #endif | 66 |
| 67 #endif // XFA_SRC_FGAS_INCLUDE_FX_SYS_H_ |
OLD | NEW |