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