diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2018-01-17 18:56:56 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-01-17 18:56:56 +0000 |
commit | c458c1774537b09f32fcf1858db8e3d30fb5b847 (patch) | |
tree | 2195a39c2080d86d86e84784c4b541d9b1639f3d /xfa/fxfa/parser/cxfa_rectangle.h | |
parent | aca769671c706607ff29882c46bac77baa449acb (diff) | |
download | pdfium-c458c1774537b09f32fcf1858db8e3d30fb5b847.tar.xz |
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 <hnakashima@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_rectangle.h')
-rw-r--r-- | xfa/fxfa/parser/cxfa_rectangle.h | 3 |
1 files changed, 3 insertions, 0 deletions
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<CXFA_Stroke*>& strokes, + const CFX_RectF& rtWidget, + CXFA_GEPath* fillPath); void Draw(const std::vector<CXFA_Stroke*>& strokes, CXFA_Graphics* pGS, CFX_RectF rtWidget, |