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 CORE_FXGE_WIN32_WIN32_INT_H_ | 7 #ifndef CORE_FXGE_WIN32_WIN32_INT_H_ |
8 #define CORE_FXGE_WIN32_WIN32_INT_H_ | 8 #define CORE_FXGE_WIN32_WIN32_INT_H_ |
9 | 9 |
10 #include "core/fxge/include/cfx_pathdata.h" | 10 #include "core/fxge/include/cfx_pathdata.h" |
11 #include "core/fxge/include/ifx_renderdevicedriver.h" | 11 #include "core/fxge/include/ifx_renderdevicedriver.h" |
12 #include "core/fxge/win32/dwrite_int.h" | 12 #include "core/fxge/win32/dwrite_int.h" |
13 | 13 |
| 14 struct FXTEXT_CHARPOS; |
14 struct WINDIB_Open_Args_; | 15 struct WINDIB_Open_Args_; |
| 16 |
15 class CGdiplusExt { | 17 class CGdiplusExt { |
16 public: | 18 public: |
17 CGdiplusExt(); | 19 CGdiplusExt(); |
18 ~CGdiplusExt(); | 20 ~CGdiplusExt(); |
19 void Load(); | 21 void Load(); |
20 FX_BOOL IsAvailable() { return !!m_hModule; } | 22 FX_BOOL IsAvailable() { return !!m_hModule; } |
21 FX_BOOL StretchBitMask(HDC hDC, | 23 FX_BOOL StretchBitMask(HDC hDC, |
22 BOOL bMonoDevice, | 24 BOOL bMonoDevice, |
23 const CFX_DIBitmap* pBitmap, | 25 const CFX_DIBitmap* pBitmap, |
24 int dest_left, | 26 int dest_left, |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
246 CFX_FontCache* pCache, | 248 CFX_FontCache* pCache, |
247 const CFX_Matrix* pObject2Device, | 249 const CFX_Matrix* pObject2Device, |
248 FX_FLOAT font_size, | 250 FX_FLOAT font_size, |
249 uint32_t color) override; | 251 uint32_t color) override; |
250 | 252 |
251 const int m_HorzSize; | 253 const int m_HorzSize; |
252 const int m_VertSize; | 254 const int m_VertSize; |
253 }; | 255 }; |
254 | 256 |
255 #endif // CORE_FXGE_WIN32_WIN32_INT_H_ | 257 #endif // CORE_FXGE_WIN32_WIN32_INT_H_ |
OLD | NEW |