OLD | NEW |
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 #include "core/fxge/include/fx_ge.h" | 7 #include "core/fxge/include/fx_ge.h" |
| 8 #include "core/fxge/include/ifx_renderdevicedriver.h" |
8 | 9 |
9 CFX_RenderDevice::CFX_RenderDevice() | 10 CFX_RenderDevice::CFX_RenderDevice() |
10 : m_pBitmap(nullptr), | 11 : m_pBitmap(nullptr), |
11 m_Width(0), | 12 m_Width(0), |
12 m_Height(0), | 13 m_Height(0), |
13 m_bpp(0), | 14 m_bpp(0), |
14 m_RenderCaps(0), | 15 m_RenderCaps(0), |
15 m_DeviceClass(0), | 16 m_DeviceClass(0), |
16 m_pDeviceDriver(nullptr) {} | 17 m_pDeviceDriver(nullptr) {} |
17 | 18 |
(...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
472 flags, handle, blend_mode); | 473 flags, handle, blend_mode); |
473 } | 474 } |
474 | 475 |
475 FX_BOOL CFX_RenderDevice::ContinueDIBits(void* handle, IFX_Pause* pPause) { | 476 FX_BOOL CFX_RenderDevice::ContinueDIBits(void* handle, IFX_Pause* pPause) { |
476 return m_pDeviceDriver->ContinueDIBits(handle, pPause); | 477 return m_pDeviceDriver->ContinueDIBits(handle, pPause); |
477 } | 478 } |
478 | 479 |
479 void CFX_RenderDevice::CancelDIBits(void* handle) { | 480 void CFX_RenderDevice::CancelDIBits(void* handle) { |
480 m_pDeviceDriver->CancelDIBits(handle); | 481 m_pDeviceDriver->CancelDIBits(handle); |
481 } | 482 } |
OLD | NEW |