diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-11-07 18:32:30 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-11-07 18:32:30 +0000 |
commit | 0dbaa90e9f6777c5d2203cd18dc565670d6271c0 (patch) | |
tree | ab0b61557afc5930a9313defdebdb1ff717fa532 /xfa/fxfa/cxfa_ffarc.cpp | |
parent | 1b5eab3025b2b93a89261193167f613c0c924b32 (diff) | |
download | pdfium-0dbaa90e9f6777c5d2203cd18dc565670d6271c0.tar.xz |
Rename CXFA_Arc to CXFA_ArcData
This CL renames the CXFA_Arc class to make it clear it's part of the
data hierarchy.
Change-Id: Ia4cc276a2829db7ff11e778fe639b5c5656bf23e
Reviewed-on: https://pdfium-review.googlesource.com/17970
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/cxfa_ffarc.cpp')
-rw-r--r-- | xfa/fxfa/cxfa_ffarc.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/xfa/fxfa/cxfa_ffarc.cpp b/xfa/fxfa/cxfa_ffarc.cpp index 5929cb9001..ddfa1b0b0d 100644 --- a/xfa/fxfa/cxfa_ffarc.cpp +++ b/xfa/fxfa/cxfa_ffarc.cpp @@ -20,13 +20,12 @@ void CXFA_FFArc::RenderWidget(CXFA_Graphics* pGS, if (!value) return; - CXFA_Arc arcObj = value.GetArc(); - CFX_Matrix mtRotate = GetRotateMatrix(); - mtRotate.Concat(matrix); - CFX_RectF rtArc = GetRectWithoutRotate(); if (CXFA_Margin mgWidget = m_pDataAcc->GetMargin()) XFA_RectWidthoutMargin(rtArc, mgWidget); - DrawBorder(pGS, arcObj, rtArc, mtRotate); + CFX_Matrix mtRotate = GetRotateMatrix(); + mtRotate.Concat(matrix); + + DrawBorder(pGS, value.GetArcData(), rtArc, mtRotate); } |