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_FXGEDEVICE_H_ | 7 #ifndef CORE_FXGE_CFX_FXGEDEVICE_H_ |
8 #define CORE_FXGE_INCLUDE_CFX_FXGEDEVICE_H_ | 8 #define CORE_FXGE_CFX_FXGEDEVICE_H_ |
9 | 9 |
10 #include "core/fxge/include/cfx_renderdevice.h" | 10 #include "core/fxge/cfx_renderdevice.h" |
11 #include "core/fxge/include/fx_dib.h" | 11 #include "core/fxge/fx_dib.h" |
12 | 12 |
13 class SkPictureRecorder; | 13 class SkPictureRecorder; |
14 | 14 |
15 class CFX_FxgeDevice : public CFX_RenderDevice { | 15 class CFX_FxgeDevice : public CFX_RenderDevice { |
16 public: | 16 public: |
17 CFX_FxgeDevice(); | 17 CFX_FxgeDevice(); |
18 ~CFX_FxgeDevice() override; | 18 ~CFX_FxgeDevice() override; |
19 | 19 |
20 bool Attach(CFX_DIBitmap* pBitmap, | 20 bool Attach(CFX_DIBitmap* pBitmap, |
21 bool bRgbByteOrder, | 21 bool bRgbByteOrder, |
(...skipping 14 matching lines...) Expand all Loading... |
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 private: | 42 private: |
43 bool m_bOwnedBitmap; | 43 bool m_bOwnedBitmap; |
44 }; | 44 }; |
45 | 45 |
46 #endif // CORE_FXGE_INCLUDE_CFX_FXGEDEVICE_H_ | 46 #endif // CORE_FXGE_CFX_FXGEDEVICE_H_ |
OLD | NEW |