OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #include "xfa/fxfa/xfa_ffwidget.h" | 7 #include "xfa/fxfa/xfa_ffwidget.h" |
8 | 8 |
9 #include <algorithm> | 9 #include <algorithm> |
10 #include <memory> | 10 #include <memory> |
11 | 11 |
12 #include "core/fpdfapi/fpdf_page/cpdf_pageobjectholder.h" | 12 #include "core/fpdfapi/page/cpdf_pageobjectholder.h" |
13 #include "core/fxcodec/codec/ccodec_progressivedecoder.h" | 13 #include "core/fxcodec/codec/ccodec_progressivedecoder.h" |
14 #include "core/fxcodec/fx_codec.h" | 14 #include "core/fxcodec/fx_codec.h" |
15 #include "core/fxge/cfx_gemodule.h" | 15 #include "core/fxge/cfx_gemodule.h" |
16 #include "core/fxge/cfx_pathdata.h" | 16 #include "core/fxge/cfx_pathdata.h" |
17 #include "core/fxge/cfx_renderdevice.h" | 17 #include "core/fxge/cfx_renderdevice.h" |
18 #include "xfa/fxfa/app/xfa_textlayout.h" | 18 #include "xfa/fxfa/app/xfa_textlayout.h" |
19 #include "xfa/fxfa/cxfa_eventparam.h" | 19 #include "xfa/fxfa/cxfa_eventparam.h" |
20 #include "xfa/fxfa/fxfa_widget.h" | 20 #include "xfa/fxfa/fxfa_widget.h" |
21 #include "xfa/fxfa/parser/cxfa_corner.h" | 21 #include "xfa/fxfa/parser/cxfa_corner.h" |
22 #include "xfa/fxfa/xfa_ffapp.h" | 22 #include "xfa/fxfa/xfa_ffapp.h" |
(...skipping 2021 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2044 } | 2044 } |
2045 XFA_BOX_Fill(box, strokes, pGS, rtWidget, pMatrix, dwFlags); | 2045 XFA_BOX_Fill(box, strokes, pGS, rtWidget, pMatrix, dwFlags); |
2046 XFA_BOX_Stroke(box, strokes, pGS, rtWidget, pMatrix, dwFlags); | 2046 XFA_BOX_Stroke(box, strokes, pGS, rtWidget, pMatrix, dwFlags); |
2047 } | 2047 } |
2048 | 2048 |
2049 CXFA_CalcData::CXFA_CalcData() : m_iRefCount(0) {} | 2049 CXFA_CalcData::CXFA_CalcData() : m_iRefCount(0) {} |
2050 | 2050 |
2051 CXFA_CalcData::~CXFA_CalcData() { | 2051 CXFA_CalcData::~CXFA_CalcData() { |
2052 m_Globals.RemoveAll(); | 2052 m_Globals.RemoveAll(); |
2053 } | 2053 } |
OLD | NEW |