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

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

Issue 1832173003: Remove FX_DWORD from core/ and delete definition (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 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/skia/fx_skia_device.cpp ('k') | core/fxge/win32/fx_win32_device.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_DWRITE_INT_H_ 7 #ifndef CORE_FXGE_WIN32_DWRITE_INT_H_
8 #define CORE_FXGE_WIN32_DWRITE_INT_H_ 8 #define CORE_FXGE_WIN32_DWRITE_INT_H_
9 9
10 #ifndef DECLSPEC_UUID 10 #ifndef DECLSPEC_UUID
(...skipping 19 matching lines...) Expand all
30 public: 30 public:
31 CDWriteExt(); 31 CDWriteExt();
32 ~CDWriteExt(); 32 ~CDWriteExt();
33 33
34 void Load(); 34 void Load();
35 void Unload(); 35 void Unload();
36 36
37 FX_BOOL IsAvailable() { return m_pDWriteFactory != NULL; } 37 FX_BOOL IsAvailable() { return m_pDWriteFactory != NULL; }
38 38
39 void* DwCreateFontFaceFromStream(uint8_t* pData, 39 void* DwCreateFontFaceFromStream(uint8_t* pData,
40 FX_DWORD size, 40 uint32_t size,
41 int simulation_style); 41 int simulation_style);
42 FX_BOOL DwCreateRenderingTarget(CFX_DIBitmap* pSrc, void** renderTarget); 42 FX_BOOL DwCreateRenderingTarget(CFX_DIBitmap* pSrc, void** renderTarget);
43 void DwDeleteRenderingTarget(void* renderTarget); 43 void DwDeleteRenderingTarget(void* renderTarget);
44 FX_BOOL DwRendingString(void* renderTarget, 44 FX_BOOL DwRendingString(void* renderTarget,
45 CFX_ClipRgn* pClipRgn, 45 CFX_ClipRgn* pClipRgn,
46 FX_RECT& stringRect, 46 FX_RECT& stringRect,
47 CFX_Matrix* pMatrix, 47 CFX_Matrix* pMatrix,
48 void* font, 48 void* font,
49 FX_FLOAT font_size, 49 FX_FLOAT font_size,
50 FX_ARGB text_color, 50 FX_ARGB text_color,
51 int glyph_count, 51 int glyph_count,
52 unsigned short* glyph_indices, 52 unsigned short* glyph_indices,
53 FX_FLOAT baselineOriginX, 53 FX_FLOAT baselineOriginX,
54 FX_FLOAT baselineOriginY, 54 FX_FLOAT baselineOriginY,
55 void* glyph_offsets, 55 void* glyph_offsets,
56 FX_FLOAT* glyph_advances); 56 FX_FLOAT* glyph_advances);
57 void DwDeleteFont(void* pFont); 57 void DwDeleteFont(void* pFont);
58 58
59 protected: 59 protected:
60 void* m_hModule; 60 void* m_hModule;
61 void* m_pDWriteFactory; 61 void* m_pDWriteFactory;
62 void* m_pDwFontContext; 62 void* m_pDwFontContext;
63 void* m_pDwTextRenderer; 63 void* m_pDwTextRenderer;
64 }; 64 };
65 65
66 #endif // CORE_FXGE_WIN32_DWRITE_INT_H_ 66 #endif // CORE_FXGE_WIN32_DWRITE_INT_H_
OLDNEW
« no previous file with comments | « core/fxge/skia/fx_skia_device.cpp ('k') | core/fxge/win32/fx_win32_device.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698