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 #ifndef CORE_FXGE_SKIA_FX_SKIA_DEVICE_H_ | 5 #ifndef CORE_FXGE_SKIA_FX_SKIA_DEVICE_H_ |
6 #define CORE_FXGE_SKIA_FX_SKIA_DEVICE_H_ | 6 #define CORE_FXGE_SKIA_FX_SKIA_DEVICE_H_ |
7 | 7 |
8 #if defined(_SKIA_SUPPORT_) | 8 #if defined(_SKIA_SUPPORT_) |
9 | 9 |
10 #include "core/fxge/include/cfx_pathdata.h" | 10 #include "core/fxge/include/cfx_pathdata.h" |
11 #include "core/fxge/include/ifx_renderdevicedriver.h" | 11 #include "core/fxge/include/ifx_renderdevicedriver.h" |
12 | 12 |
| 13 class CFX_FontCache; |
13 class SkCanvas; | 14 class SkCanvas; |
14 class SkMatrix; | 15 class SkMatrix; |
15 class SkPaint; | 16 class SkPaint; |
16 class SkPath; | 17 class SkPath; |
17 class SkPictureRecorder; | 18 class SkPictureRecorder; |
18 class SkiaState; | 19 class SkiaState; |
19 struct FXTEXT_CHARPOS; | 20 struct FXTEXT_CHARPOS; |
20 struct SkIRect; | 21 struct SkIRect; |
21 | 22 |
22 class CFX_SkiaDeviceDriver : public IFX_RenderDeviceDriver { | 23 class CFX_SkiaDeviceDriver : public IFX_RenderDeviceDriver { |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 CFX_DIBitmap* m_pBitmap; | 152 CFX_DIBitmap* m_pBitmap; |
152 CFX_DIBitmap* m_pOriDevice; | 153 CFX_DIBitmap* m_pOriDevice; |
153 SkCanvas* m_pCanvas; | 154 SkCanvas* m_pCanvas; |
154 SkPictureRecorder* const m_pRecorder; | 155 SkPictureRecorder* const m_pRecorder; |
155 std::unique_ptr<SkiaState> m_pCache; | 156 std::unique_ptr<SkiaState> m_pCache; |
156 FX_BOOL m_bGroupKnockout; | 157 FX_BOOL m_bGroupKnockout; |
157 }; | 158 }; |
158 #endif // defined(_SKIA_SUPPORT_) | 159 #endif // defined(_SKIA_SUPPORT_) |
159 | 160 |
160 #endif // CORE_FXGE_SKIA_FX_SKIA_DEVICE_H_ | 161 #endif // CORE_FXGE_SKIA_FX_SKIA_DEVICE_H_ |
OLD | NEW |