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

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

Issue 1171733003: Remove typdefs for pointer types in fx_system.h (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Manual fixes. 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.cpp ('k') | core/src/fxge/skia/fx_skia_device.cpp » ('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 CORE_SRC_FXGE_SKIA_FX_SKIA_DEVICE_H_ 5 #ifndef CORE_SRC_FXGE_SKIA_FX_SKIA_DEVICE_H_
6 #define CORE_SRC_FXGE_SKIA_FX_SKIA_DEVICE_H_ 6 #define CORE_SRC_FXGE_SKIA_FX_SKIA_DEVICE_H_
7 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 {
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 virtual CFX_DIBitmap* GetBackDrop() { return m_pAggDriver->GetBackDrop (); } 60 virtual CFX_DIBitmap* GetBackDrop() { return m_pAggDriver->GetBackDrop (); }
61 61
62 virtual FX_BOOL SetDIBits(const CFX_DIBSource* pBitmap, FX_DWORD color, const FX_RECT* pSrcRect, 62 virtual FX_BOOL SetDIBits(const CFX_DIBSource* pBitmap, FX_DWORD color, const FX_RECT* pSrcRect,
63 int dest_left, int dest_top, int blend_type, 63 int dest_left, int dest_top, int blend_type,
64 int alpha_flag = 0, void* pIccTr ansform = NULL); 64 int alpha_flag = 0, void* pIccTr ansform = NULL);
65 virtual FX_BOOL StretchDIBits(const CFX_DIBSource* pBitmap, FX_D WORD color, int dest_left, int dest_top, 65 virtual FX_BOOL StretchDIBits(const CFX_DIBSource* pBitmap, FX_D WORD color, int dest_left, int dest_top,
66 int dest_width, int dest_height, const FX_RECT* pClipRect, FX_DWORD flags, 66 int dest_width, int dest_height, const FX_RECT* pClipRect, FX_DWORD flags,
67 int alpha_flag = 0, void* pIccTransform = NULL); 67 int alpha_flag = 0, void* pIccTransform = NULL);
68 68
69 virtual FX_BOOL StartDIBits(const CFX_DIBSource* pBitmap, int bi tmap_alpha, FX_DWORD color, 69 virtual FX_BOOL StartDIBits(const CFX_DIBSource* pBitmap, int bi tmap_alpha, FX_DWORD color,
70 » » » » const CFX_AffineMatrix* pMatrix, FX_DWORD flags, FX_LPVOID& handle, 70 » » » » const CFX_AffineMatrix* pMatrix, FX_DWORD flags, void*& handle,
71 int alpha_flag = 0, void* pIccTransform = NULL); 71 int alpha_flag = 0, void* pIccTransform = NULL);
72 » virtual FX_BOOL»» ContinueDIBits(FX_LPVOID handle, IFX_Pause* pPau se); 72 » virtual FX_BOOL»» ContinueDIBits(void* handle, IFX_Pause* pPause);
73 » virtual void» » CancelDIBits(FX_LPVOID handle); 73 » virtual void» » CancelDIBits(void* handle);
74 74
75 virtual FX_BOOL DrawDeviceText(int nChars, const FXTEXT_CHARPOS* pCh arPos, CFX_Font* pFont, 75 virtual FX_BOOL DrawDeviceText(int nChars, const FXTEXT_CHARPOS* pCh arPos, CFX_Font* pFont,
76 CFX_FontCache* pCache, const CFX _AffineMatrix* pObject2Device, FX_FIXFLOAT font_size, FX_DWORD color, 76 CFX_FontCache* pCache, const CFX _AffineMatrix* pObject2Device, FX_FIXFLOAT font_size, FX_DWORD color,
77 int alpha_flag = 0, void* pIccTr ansform = NULL); 77 int alpha_flag = 0, void* pIccTr ansform = NULL);
78 78
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»uint8_t*» GetBuffer() const {return m_pAggDriver->GetBuffe r();}
86 86
87 CFX_AggDeviceDriver* m_pAggDriver; 87 CFX_AggDeviceDriver* m_pAggDriver;
88 }; 88 };
89 #endif // defined(_SKIA_SUPPORT_) 89 #endif // defined(_SKIA_SUPPORT_)
90 90
91 #endif // CORE_SRC_FXGE_SKIA_FX_SKIA_DEVICE_H_ 91 #endif // CORE_SRC_FXGE_SKIA_FX_SKIA_DEVICE_H_
OLDNEW
« no previous file with comments | « core/src/fxge/skia/fx_skia_blitter_new.cpp ('k') | core/src/fxge/skia/fx_skia_device.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698