summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_ffarc.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-11-07 18:32:30 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-07 18:32:30 +0000
commit0dbaa90e9f6777c5d2203cd18dc565670d6271c0 (patch)
treeab0b61557afc5930a9313defdebdb1ff717fa532 /xfa/fxfa/cxfa_ffarc.cpp
parent1b5eab3025b2b93a89261193167f613c0c924b32 (diff)
downloadpdfium-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.cpp9
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);
}