diff options
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); } |