From 17aa0579f9ce11e5433b62ccb66c59b522b4f51e Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Wed, 9 Aug 2017 16:09:51 -0400 Subject: Remove CFDE_{Pen|Brush} classes These classes just hold a color value. Instead of creating the class to pass the color we just pass the colors. Change-Id: I7f65ca4100bfbdcb02171c1e7e46150508e338f4 Reviewed-on: https://pdfium-review.googlesource.com/10451 Reviewed-by: Tom Sepez Commit-Queue: dsinclair --- xfa/fxfa/cxfa_textlayout.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'xfa/fxfa/cxfa_textlayout.h') diff --git a/xfa/fxfa/cxfa_textlayout.h b/xfa/fxfa/cxfa_textlayout.h index 642fa25dd9..d2ff0d21ea 100644 --- a/xfa/fxfa/cxfa_textlayout.h +++ b/xfa/fxfa/cxfa_textlayout.h @@ -17,9 +17,7 @@ #include "xfa/fgas/layout/cfx_rtfbreak.h" #include "xfa/fxfa/cxfa_textparser.h" -class CFDE_Brush; class CFX_CSSComputedStyle; -class CFDE_Pen; class CFDE_RenderDevice; class CFX_XMLNode; class CFX_RTFBreak; @@ -101,13 +99,11 @@ class CXFA_TextLayout { void ProcessText(CFX_WideString& wsText); void UpdateAlign(float fHeight, float fBottom); void RenderString(CFDE_RenderDevice* pDevice, - CFDE_Brush* pBrush, CXFA_PieceLine* pPieceLine, int32_t iPiece, FXTEXT_CHARPOS* pCharPos, const CFX_Matrix& tmDoc2Device); void RenderPath(CFDE_RenderDevice* pDevice, - CFDE_Pen* pPen, CXFA_PieceLine* pPieceLine, int32_t iPiece, FXTEXT_CHARPOS* pCharPos, -- cgit v1.2.3