Chromium Code Reviews| Index: core/fxge/skia/fx_skia_device.h |
| diff --git a/core/fxge/skia/fx_skia_device.h b/core/fxge/skia/fx_skia_device.h |
| index 7d266d39b264708ce9652be379145de93b59cfa9..8a92f37e34e75be343587a5a25a260ff8d4fba1a 100644 |
| --- a/core/fxge/skia/fx_skia_device.h |
| +++ b/core/fxge/skia/fx_skia_device.h |
| @@ -8,6 +8,7 @@ |
| #if defined(_SKIA_SUPPORT_) |
| class SkCanvas; |
| +class SkMatrix; |
| class SkPaint; |
| class SkPath; |
| class SkPictureRecorder; |
| @@ -56,12 +57,6 @@ class CFX_SkiaDeviceDriver : public IFX_RenderDeviceDriver { |
| void* pIccTransform = NULL, |
| int blend_type = FXDIB_BLEND_NORMAL) override; |
| - FX_BOOL SetPixel(int x, |
| - int y, |
| - FX_DWORD color, |
| - int alpha_flag = 0, |
| - void* pIccTransform = NULL) override; |
| - |
| FX_BOOL FillRect(const FX_RECT* pRect, |
| FX_DWORD fill_color, |
| int alpha_flag = 0, |
| @@ -133,16 +128,8 @@ class CFX_SkiaDeviceDriver : public IFX_RenderDeviceDriver { |
| int alpha_flag = 0, |
| void* pIccTransform = NULL) override; |
| - FX_BOOL RenderRasterizer(agg::rasterizer_scanline_aa& rasterizer, |
| - FX_DWORD color, |
| - FX_BOOL bFullCover, |
| - FX_BOOL bGroupKnockout, |
| - int alpha_flag, |
| - void* pIccTransform); |
| - void SetClipMask(agg::rasterizer_scanline_aa& rasterizer); |
| - void SetClipMask(SkPath& skPath, SkPaint* spaint); |
| virtual uint8_t* GetBuffer() const { return m_pAggDriver->GetBuffer(); } |
| - void PaintStroke(SkPaint* spaint, const CFX_GraphStateData* pGraphState); |
| + void PaintStroke(SkPaint* spaint, const CFX_GraphStateData* pGraphState, const SkMatrix& matrix); |
|
Tom Sepez
2016/03/17 16:05:50
nit: 80 cols.
caryclark
2016/03/18 18:22:12
Done.
|
| SkPictureRecorder* GetRecorder() const { return m_pRecorder; } |
| private: |