From c458c1774537b09f32fcf1858db8e3d30fb5b847 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Wed, 17 Jan 2018 18:56:56 +0000 Subject: Move GetFillpath to CXFA_Rectangle This CL moves the code related to getting the fill path for rectangles to the CXFA_Rectangle class. Change-Id: I83c43c259d2decadaeb99d1f081f3972ddf8294e Reviewed-on: https://pdfium-review.googlesource.com/23111 Reviewed-by: Henrique Nakashima Commit-Queue: dsinclair --- xfa/fxfa/parser/cxfa_rectangle.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'xfa/fxfa/parser/cxfa_rectangle.h') diff --git a/xfa/fxfa/parser/cxfa_rectangle.h b/xfa/fxfa/parser/cxfa_rectangle.h index 9e335060f5..b117e66d67 100644 --- a/xfa/fxfa/parser/cxfa_rectangle.h +++ b/xfa/fxfa/parser/cxfa_rectangle.h @@ -18,6 +18,9 @@ class CXFA_Rectangle : public CXFA_Box { CXFA_Rectangle(CXFA_Document* doc, XFA_PacketType packet); ~CXFA_Rectangle() override; + void GetFillPath(const std::vector& strokes, + const CFX_RectF& rtWidget, + CXFA_GEPath* fillPath); void Draw(const std::vector& strokes, CXFA_Graphics* pGS, CFX_RectF rtWidget, -- cgit v1.2.3