From 687fbde2e4ee13637cb3fd9b1fec39a436ef73d7 Mon Sep 17 00:00:00 2001 From: caryclark Date: Tue, 22 Nov 2016 12:44:25 -0800 Subject: handle antialiased rendering as premultiplied Transparencies and bitmap patterns need to be unpremultiplied after Skia renders them so that PDFium can use its own compositing. Also added some linear (i.e. axial) gradient support, although its unclear if any of the test corpus uses this feature. R=dsinclair@chromium.org Review-Url: https://codereview.chromium.org/2520073003 --- core/fxge/cfx_fxgedevice.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'core/fxge/cfx_fxgedevice.h') diff --git a/core/fxge/cfx_fxgedevice.h b/core/fxge/cfx_fxgedevice.h index 03fece7df5..8358e43666 100644 --- a/core/fxge/cfx_fxgedevice.h +++ b/core/fxge/cfx_fxgedevice.h @@ -39,10 +39,6 @@ class CFX_FxgeDevice : public CFX_RenderDevice { int blend_type) override; #endif -#ifdef _SKIA_SUPPORT_PATHS_ - void UnPreMultiplyDevice() override; -#endif - private: bool m_bOwnedBitmap; }; -- cgit v1.2.3