| 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_CFX_FXGEDEVICE_H_ | 7 #ifndef CORE_FXGE_CFX_FXGEDEVICE_H_ |
| 8 #define CORE_FXGE_CFX_FXGEDEVICE_H_ | 8 #define CORE_FXGE_CFX_FXGEDEVICE_H_ |
| 9 | 9 |
| 10 #include "core/fxge/cfx_renderdevice.h" | 10 #include "core/fxge/cfx_renderdevice.h" |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 SkPictureRecorder* CreateRecorder(int size_x, int size_y); | 32 SkPictureRecorder* CreateRecorder(int size_x, int size_y); |
| 33 void DebugVerifyBitmapIsPreMultiplied() const override; | 33 void DebugVerifyBitmapIsPreMultiplied() const override; |
| 34 bool SetBitsWithMask(const CFX_DIBSource* pBitmap, | 34 bool SetBitsWithMask(const CFX_DIBSource* pBitmap, |
| 35 const CFX_DIBSource* pMask, | 35 const CFX_DIBSource* pMask, |
| 36 int left, | 36 int left, |
| 37 int top, | 37 int top, |
| 38 int bitmap_alpha, | 38 int bitmap_alpha, |
| 39 int blend_type) override; | 39 int blend_type) override; |
| 40 #endif | 40 #endif |
| 41 | 41 |
| 42 #ifdef _SKIA_SUPPORT_PATHS_ | |
| 43 void UnPreMultiplyDevice() override; | |
| 44 #endif | |
| 45 | |
| 46 private: | 42 private: |
| 47 bool m_bOwnedBitmap; | 43 bool m_bOwnedBitmap; |
| 48 }; | 44 }; |
| 49 | 45 |
| 50 #endif // CORE_FXGE_CFX_FXGEDEVICE_H_ | 46 #endif // CORE_FXGE_CFX_FXGEDEVICE_H_ |
| OLD | NEW |