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 #include "core/fxge/include/ifx_renderdevicedriver.h" | 7 #include "core/fxge/include/ifx_renderdevicedriver.h" |
8 | 8 |
9 #include "core/fxcrt/include/fx_coordinates.h" | 9 #include "core/fxcrt/include/fx_coordinates.h" |
10 #include "core/fxge/include/cfx_pathdata.h" | 10 #include "core/fxge/include/cfx_pathdata.h" |
11 #include "core/fxge/include/cfx_renderdevice.h" | 11 #include "core/fxge/include/cfx_renderdevice.h" |
12 | 12 |
| 13 class CFX_FontCache; |
| 14 |
13 IFX_RenderDeviceDriver::~IFX_RenderDeviceDriver() {} | 15 IFX_RenderDeviceDriver::~IFX_RenderDeviceDriver() {} |
14 | 16 |
15 CFX_Matrix IFX_RenderDeviceDriver::GetCTM() const { | 17 CFX_Matrix IFX_RenderDeviceDriver::GetCTM() const { |
16 return CFX_Matrix(); | 18 return CFX_Matrix(); |
17 } | 19 } |
18 | 20 |
19 FX_BOOL IFX_RenderDeviceDriver::StartRendering() { | 21 FX_BOOL IFX_RenderDeviceDriver::StartRendering() { |
20 return TRUE; | 22 return TRUE; |
21 } | 23 } |
22 | 24 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 FX_BOOL IFX_RenderDeviceDriver::ContinueDIBits(void* handle, | 63 FX_BOOL IFX_RenderDeviceDriver::ContinueDIBits(void* handle, |
62 IFX_Pause* pPause) { | 64 IFX_Pause* pPause) { |
63 return FALSE; | 65 return FALSE; |
64 } | 66 } |
65 | 67 |
66 void IFX_RenderDeviceDriver::CancelDIBits(void* handle) {} | 68 void IFX_RenderDeviceDriver::CancelDIBits(void* handle) {} |
67 | 69 |
68 FX_BOOL IFX_RenderDeviceDriver::DrawDeviceText(int nChars, | 70 FX_BOOL IFX_RenderDeviceDriver::DrawDeviceText(int nChars, |
69 const FXTEXT_CHARPOS* pCharPos, | 71 const FXTEXT_CHARPOS* pCharPos, |
70 CFX_Font* pFont, | 72 CFX_Font* pFont, |
| 73 CFX_FontCache* pCache, |
71 const CFX_Matrix* pObject2Device, | 74 const CFX_Matrix* pObject2Device, |
72 FX_FLOAT font_size, | 75 FX_FLOAT font_size, |
73 uint32_t color) { | 76 uint32_t color) { |
74 return FALSE; | 77 return FALSE; |
75 } | 78 } |
76 | 79 |
77 void* IFX_RenderDeviceDriver::GetPlatformSurface() const { | 80 void* IFX_RenderDeviceDriver::GetPlatformSurface() const { |
78 return nullptr; | 81 return nullptr; |
79 } | 82 } |
80 | 83 |
(...skipping 12 matching lines...) Expand all Loading... |
93 } | 96 } |
94 | 97 |
95 bool IFX_RenderDeviceDriver::SetBitsWithMask(const CFX_DIBSource* pBitmap, | 98 bool IFX_RenderDeviceDriver::SetBitsWithMask(const CFX_DIBSource* pBitmap, |
96 const CFX_DIBSource* pMask, | 99 const CFX_DIBSource* pMask, |
97 int left, | 100 int left, |
98 int top, | 101 int top, |
99 int bitmap_alpha, | 102 int bitmap_alpha, |
100 int blend_type) { | 103 int blend_type) { |
101 return false; | 104 return false; |
102 } | 105 } |
OLD | NEW |