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

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

Issue 2246223002: Refactor fx_font part 1 (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: CFX_AutoFontCache to own class, fixes Created 4 years, 4 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') | pdfium.gyp » ('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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 CFX_FontCache* pCache, 249 CFX_FontCache* pCache,
249 const CFX_Matrix* pObject2Device, 250 const CFX_Matrix* pObject2Device,
250 FX_FLOAT font_size, 251 FX_FLOAT font_size,
251 uint32_t color) override; 252 uint32_t color) override;
252 253
253 const int m_HorzSize; 254 const int m_HorzSize;
254 const int m_VertSize; 255 const int m_VertSize;
255 }; 256 };
256 257
257 #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') | pdfium.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698