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 class CFX_FontCache; |
14 struct FXTEXT_CHARPOS; | 15 struct FXTEXT_CHARPOS; |
15 struct WINDIB_Open_Args_; | 16 struct WINDIB_Open_Args_; |
16 | 17 |
17 class CGdiplusExt { | 18 class CGdiplusExt { |
18 public: | 19 public: |
19 CGdiplusExt(); | 20 CGdiplusExt(); |
20 ~CGdiplusExt(); | 21 ~CGdiplusExt(); |
21 void Load(); | 22 void Load(); |
22 FX_BOOL IsAvailable() { return !!m_hModule; } | 23 FX_BOOL IsAvailable() { return !!m_hModule; } |
23 FX_BOOL StretchBitMask(HDC hDC, | 24 FX_BOOL StretchBitMask(HDC hDC, |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 FX_BOOL StartDIBits(const CFX_DIBSource* pBitmap, | 239 FX_BOOL StartDIBits(const CFX_DIBSource* pBitmap, |
239 int bitmap_alpha, | 240 int bitmap_alpha, |
240 uint32_t color, | 241 uint32_t color, |
241 const CFX_Matrix* pMatrix, | 242 const CFX_Matrix* pMatrix, |
242 uint32_t render_flags, | 243 uint32_t render_flags, |
243 void*& handle, | 244 void*& handle, |
244 int blend_type) override; | 245 int blend_type) override; |
245 FX_BOOL DrawDeviceText(int nChars, | 246 FX_BOOL DrawDeviceText(int nChars, |
246 const FXTEXT_CHARPOS* pCharPos, | 247 const FXTEXT_CHARPOS* pCharPos, |
247 CFX_Font* pFont, | 248 CFX_Font* pFont, |
| 249 CFX_FontCache* pCache, |
248 const CFX_Matrix* pObject2Device, | 250 const CFX_Matrix* pObject2Device, |
249 FX_FLOAT font_size, | 251 FX_FLOAT font_size, |
250 uint32_t color) override; | 252 uint32_t color) override; |
251 | 253 |
252 const int m_HorzSize; | 254 const int m_HorzSize; |
253 const int m_VertSize; | 255 const int m_VertSize; |
254 }; | 256 }; |
255 | 257 |
256 #endif // CORE_FXGE_WIN32_WIN32_INT_H_ | 258 #endif // CORE_FXGE_WIN32_WIN32_INT_H_ |
OLD | NEW |