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 #ifndef CORE_SRC_FXGE_WIN32_WIN32_INT_H_ | 7 #ifndef CORE_SRC_FXGE_WIN32_WIN32_INT_H_ |
7 #define CORE_SRC_FXGE_WIN32_WIN32_INT_H_ | 8 #define CORE_SRC_FXGE_WIN32_WIN32_INT_H_ |
8 | 9 |
9 #include "../../../include/fxge/fx_ge.h" | 10 #include "core/include/fxge/fx_ge.h" |
10 | 11 |
11 struct WINDIB_Open_Args_; | 12 struct WINDIB_Open_Args_; |
12 class CGdiplusExt { | 13 class CGdiplusExt { |
13 public: | 14 public: |
14 CGdiplusExt(); | 15 CGdiplusExt(); |
15 ~CGdiplusExt(); | 16 ~CGdiplusExt(); |
16 void Load(); | 17 void Load(); |
17 FX_BOOL IsAvailable() { return m_hModule != NULL; } | 18 FX_BOOL IsAvailable() { return m_hModule != NULL; } |
18 FX_BOOL StretchBitMask(HDC hDC, | 19 FX_BOOL StretchBitMask(HDC hDC, |
19 BOOL bMonoDevice, | 20 BOOL bMonoDevice, |
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
359 int m_HorzSize, m_VertSize; | 360 int m_HorzSize, m_VertSize; |
360 CPSOutput* m_pPSOutput; | 361 CPSOutput* m_pPSOutput; |
361 CFX_PSRenderer m_PSRenderer; | 362 CFX_PSRenderer m_PSRenderer; |
362 }; | 363 }; |
363 void _Color2Argb(FX_ARGB& argb, | 364 void _Color2Argb(FX_ARGB& argb, |
364 FX_DWORD color, | 365 FX_DWORD color, |
365 int alpha_flag, | 366 int alpha_flag, |
366 void* pIccTransform); | 367 void* pIccTransform); |
367 | 368 |
368 #endif // CORE_SRC_FXGE_WIN32_WIN32_INT_H_ | 369 #endif // CORE_SRC_FXGE_WIN32_WIN32_INT_H_ |
OLD | NEW |