Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(70)

Side by Side Diff: core/fxge/win32/win32_int.h

Issue 2350763002: Revert of Pdfium: Fix fonts leaking on ClosePage. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « core/fxge/win32/fx_win32_print.cpp ('k') | xfa/fde/fde_gedevice.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « core/fxge/win32/fx_win32_print.cpp ('k') | xfa/fde/fde_gedevice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698