Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(284)

Side by Side Diff: core/src/fxge/skia/fx_skia_device.h

Issue 1162013003: Merge to XFA: Fix ALL the include guards. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Re-upload. Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « core/src/fxge/skia/fx_skia_blitter_new.h ('k') | core/src/fxge/win32/dwrite_int.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 _FX_SKIA_DEVICE_DRIVER_ 5 #ifndef CORE_SRC_FXGE_SKIA_FX_SKIA_DEVICE_H_
6 #define _FX_SKIA_DEVICE_DRIVER_ 6 #define CORE_SRC_FXGE_SKIA_FX_SKIA_DEVICE_H_
7 //#define _SKIA_SUPPORT_ 7
8 #if defined(_SKIA_SUPPORT_) 8 #if defined(_SKIA_SUPPORT_)
9 class CFX_SkiaDeviceDriver : public IFX_RenderDeviceDriver 9 class CFX_SkiaDeviceDriver : public IFX_RenderDeviceDriver
10 { 10 {
11 public: 11 public:
12 CFX_SkiaDeviceDriver(CFX_DIBitmap* pBitmap, int dither_bits, FX_BOOL bRg bByteOrder, CFX_DIBitmap* pOriDevice, FX_BOOL bGroupKnockout); 12 CFX_SkiaDeviceDriver(CFX_DIBitmap* pBitmap, int dither_bits, FX_BOOL bRg bByteOrder, CFX_DIBitmap* pOriDevice, FX_BOOL bGroupKnockout);
13 virtual ~CFX_SkiaDeviceDriver(); 13 virtual ~CFX_SkiaDeviceDriver();
14 14
15 /** Options */ 15 /** Options */
16 virtual int GetDeviceCaps(int caps_id); 16 virtual int GetDeviceCaps(int caps_id);
17 17
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 virtual FX_BOOL RenderRasterizer(rasterizer_scanline_aa& rasteri zer, FX_DWORD color, FX_BOOL bFullCover, FX_BOOL bGroupKnockout, 79 virtual FX_BOOL RenderRasterizer(rasterizer_scanline_aa& rasteri zer, FX_DWORD color, FX_BOOL bFullCover, FX_BOOL bGroupKnockout,
80 int alpha_flag, void* pI ccTransform); 80 int alpha_flag, void* pI ccTransform);
81 virtual FX_BOOL RenderRasterizerSkia(SkPath& skPath, const SkPai nt& origPaint, SkIRect& rect, FX_DWORD color, FX_BOOL bFullCover, FX_BOOL bGroup Knockout, 81 virtual FX_BOOL RenderRasterizerSkia(SkPath& skPath, const SkPai nt& origPaint, SkIRect& rect, FX_DWORD color, FX_BOOL bFullCover, FX_BOOL bGroup Knockout,
82 int alpha_flag, void* pI ccTransform, FX_BOOL bFill = TRUE); 82 int alpha_flag, void* pI ccTransform, FX_BOOL bFill = TRUE);
83 void SetClipMask(rasterizer_scanline_aa& rast erizer); 83 void SetClipMask(rasterizer_scanline_aa& rast erizer);
84 void SetClipMask(SkPath& skPath, SkPaint* spa int); 84 void SetClipMask(SkPath& skPath, SkPaint* spa int);
85 virtual FX_LPBYTE GetBuffer() const {return m_pAggDriver->GetBuffe r();} 85 virtual FX_LPBYTE GetBuffer() const {return m_pAggDriver->GetBuffe r();}
86 86
87 CFX_AggDeviceDriver* m_pAggDriver; 87 CFX_AggDeviceDriver* m_pAggDriver;
88 }; 88 };
89 #endif 89 #endif // defined(_SKIA_SUPPORT_)
90 #endif// _FX_SKIA_DEVICE_DRIVER_ 90
91 #endif // CORE_SRC_FXGE_SKIA_FX_SKIA_DEVICE_H_
OLDNEW
« no previous file with comments | « core/src/fxge/skia/fx_skia_blitter_new.h ('k') | core/src/fxge/win32/dwrite_int.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698