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/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/fwl/core/fwl_widgethit.h" |
18 #include "xfa/fxfa/app/xfa_textlayout.h" | 19 #include "xfa/fxfa/app/xfa_textlayout.h" |
19 #include "xfa/fxfa/cxfa_eventparam.h" | 20 #include "xfa/fxfa/cxfa_eventparam.h" |
20 #include "xfa/fxfa/fxfa_widget.h" | 21 #include "xfa/fxfa/fxfa_widget.h" |
21 #include "xfa/fxfa/parser/cxfa_corner.h" | 22 #include "xfa/fxfa/parser/cxfa_corner.h" |
22 #include "xfa/fxfa/xfa_ffapp.h" | 23 #include "xfa/fxfa/xfa_ffapp.h" |
23 #include "xfa/fxfa/xfa_ffdoc.h" | 24 #include "xfa/fxfa/xfa_ffdoc.h" |
24 #include "xfa/fxfa/xfa_ffdocview.h" | 25 #include "xfa/fxfa/xfa_ffdocview.h" |
25 #include "xfa/fxfa/xfa_ffpageview.h" | 26 #include "xfa/fxfa/xfa_ffpageview.h" |
26 #include "xfa/fxgraphics/cfx_color.h" | 27 #include "xfa/fxgraphics/cfx_color.h" |
27 #include "xfa/fxgraphics/cfx_graphics.h" | 28 #include "xfa/fxgraphics/cfx_graphics.h" |
(...skipping 2016 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2044 } | 2045 } |
2045 XFA_BOX_Fill(box, strokes, pGS, rtWidget, pMatrix, dwFlags); | 2046 XFA_BOX_Fill(box, strokes, pGS, rtWidget, pMatrix, dwFlags); |
2046 XFA_BOX_Stroke(box, strokes, pGS, rtWidget, pMatrix, dwFlags); | 2047 XFA_BOX_Stroke(box, strokes, pGS, rtWidget, pMatrix, dwFlags); |
2047 } | 2048 } |
2048 | 2049 |
2049 CXFA_CalcData::CXFA_CalcData() : m_iRefCount(0) {} | 2050 CXFA_CalcData::CXFA_CalcData() : m_iRefCount(0) {} |
2050 | 2051 |
2051 CXFA_CalcData::~CXFA_CalcData() { | 2052 CXFA_CalcData::~CXFA_CalcData() { |
2052 m_Globals.RemoveAll(); | 2053 m_Globals.RemoveAll(); |
2053 } | 2054 } |
OLD | NEW |