From 63af2c64b4ea9a0de9a9b4e9916b7f2c925e4b38 Mon Sep 17 00:00:00 2001 From: npm Date: Wed, 24 Aug 2016 06:33:56 -0700 Subject: Delete unused methods from CFX_RenderDevice Review-Url: https://codereview.chromium.org/2269203002 --- core/fxge/include/cfx_renderdevice.h | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'core/fxge/include') diff --git a/core/fxge/include/cfx_renderdevice.h b/core/fxge/include/cfx_renderdevice.h index 9dd5f55ee9..6607b479c7 100644 --- a/core/fxge/include/cfx_renderdevice.h +++ b/core/fxge/include/cfx_renderdevice.h @@ -91,15 +91,12 @@ class CFX_RenderDevice { return m_pDeviceDriver.get(); } - FX_BOOL StartRendering(); - void EndRendering(); void SaveState(); void RestoreState(bool bKeepSaved); int GetWidth() const { return m_Width; } int GetHeight() const { return m_Height; } int GetDeviceClass() const { return m_DeviceClass; } - int GetBPP() const { return m_bpp; } int GetRenderCaps() const { return m_RenderCaps; } int GetDeviceCaps(int id) const; CFX_Matrix GetCTM() const; @@ -140,14 +137,6 @@ class CFX_RenderDevice { uint32_t color, int blend_type); FX_BOOL DrawCosmeticLine(FX_FLOAT x1, - FX_FLOAT y1, - FX_FLOAT x2, - FX_FLOAT y2, - uint32_t color) { - return DrawCosmeticLineWithFillModeAndBlend(x1, y1, x2, y2, color, 0, - FXDIB_BLEND_NORMAL); - } - FX_BOOL DrawCosmeticLineWithFillModeAndBlend(FX_FLOAT x1, FX_FLOAT y1, FX_FLOAT x2, FX_FLOAT y2, @@ -224,21 +213,6 @@ class CFX_RenderDevice { uint32_t fill_color, uint32_t text_flags); FX_BOOL DrawTextPath(int nChars, - const FXTEXT_CHARPOS* pCharPos, - CFX_Font* pFont, - CFX_FontCache* pCache, - FX_FLOAT font_size, - const CFX_Matrix* pText2User, - const CFX_Matrix* pUser2Device, - const CFX_GraphStateData* pGraphState, - uint32_t fill_color, - uint32_t stroke_color, - CFX_PathData* pClippingPath) { - return DrawTextPathWithFlags(nChars, pCharPos, pFont, pCache, font_size, - pText2User, pUser2Device, pGraphState, - fill_color, stroke_color, pClippingPath, 0); - } - FX_BOOL DrawTextPathWithFlags(int nChars, const FXTEXT_CHARPOS* pCharPos, CFX_Font* pFont, CFX_FontCache* pCache, -- cgit v1.2.3