OLD | NEW |
1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 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_INCLUDE_CFX_RENDERDEVICE_H_ | 7 #ifndef CORE_FXGE_INCLUDE_CFX_RENDERDEVICE_H_ |
8 #define CORE_FXGE_INCLUDE_CFX_RENDERDEVICE_H_ | 8 #define CORE_FXGE_INCLUDE_CFX_RENDERDEVICE_H_ |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 | 69 |
70 struct FXTEXT_CHARPOS { | 70 struct FXTEXT_CHARPOS { |
71 FX_FLOAT m_AdjustMatrix[4]; | 71 FX_FLOAT m_AdjustMatrix[4]; |
72 FX_FLOAT m_OriginX; | 72 FX_FLOAT m_OriginX; |
73 FX_FLOAT m_OriginY; | 73 FX_FLOAT m_OriginY; |
74 uint32_t m_GlyphIndex; | 74 uint32_t m_GlyphIndex; |
75 int32_t m_FontCharWidth; | 75 int32_t m_FontCharWidth; |
76 #if _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_ | 76 #if _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_ |
77 uint32_t m_ExtGID; | 77 uint32_t m_ExtGID; |
78 #endif | 78 #endif |
| 79 uint32_t m_FallbackFontPosition; |
79 bool m_bGlyphAdjust; | 80 bool m_bGlyphAdjust; |
80 bool m_bFontStyle; | 81 bool m_bFontStyle; |
81 }; | 82 }; |
82 | 83 |
83 class CFX_RenderDevice { | 84 class CFX_RenderDevice { |
84 public: | 85 public: |
85 CFX_RenderDevice(); | 86 CFX_RenderDevice(); |
86 virtual ~CFX_RenderDevice(); | 87 virtual ~CFX_RenderDevice(); |
87 | 88 |
88 // Take ownership of |pDriver|. | 89 // Take ownership of |pDriver|. |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 int m_Width; | 278 int m_Width; |
278 int m_Height; | 279 int m_Height; |
279 int m_bpp; | 280 int m_bpp; |
280 int m_RenderCaps; | 281 int m_RenderCaps; |
281 int m_DeviceClass; | 282 int m_DeviceClass; |
282 FX_RECT m_ClipBox; | 283 FX_RECT m_ClipBox; |
283 std::unique_ptr<IFX_RenderDeviceDriver> m_pDeviceDriver; | 284 std::unique_ptr<IFX_RenderDeviceDriver> m_pDeviceDriver; |
284 }; | 285 }; |
285 | 286 |
286 #endif // CORE_FXGE_INCLUDE_CFX_RENDERDEVICE_H_ | 287 #endif // CORE_FXGE_INCLUDE_CFX_RENDERDEVICE_H_ |
OLD | NEW |