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/include/xfa_ffwidget.h" | 7 #include "xfa/fxfa/include/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/include/cpdf_pageobjectholder.h" | 12 #include "core/fpdfapi/fpdf_page/include/cpdf_pageobjectholder.h" |
13 #include "core/fxcodec/codec/include/ccodec_progressivedecoder.h" | 13 #include "core/fxcodec/codec/include/ccodec_progressivedecoder.h" |
14 #include "core/fxcodec/include/fx_codec.h" | 14 #include "core/fxcodec/include/fx_codec.h" |
15 #include "xfa/fxfa/app/xfa_textlayout.h" | 15 #include "xfa/fxfa/app/xfa_textlayout.h" |
| 16 #include "xfa/fxfa/include/fxfa_widget.h" |
| 17 #include "xfa/fxfa/include/cxfa_eventparam.h" |
16 #include "xfa/fxfa/include/xfa_ffapp.h" | 18 #include "xfa/fxfa/include/xfa_ffapp.h" |
17 #include "xfa/fxfa/include/xfa_ffdoc.h" | 19 #include "xfa/fxfa/include/xfa_ffdoc.h" |
18 #include "xfa/fxfa/include/xfa_ffdocview.h" | 20 #include "xfa/fxfa/include/xfa_ffdocview.h" |
19 #include "xfa/fxfa/include/xfa_ffpageview.h" | 21 #include "xfa/fxfa/include/xfa_ffpageview.h" |
20 #include "xfa/fxfa/parser/cxfa_corner.h" | 22 #include "xfa/fxfa/parser/cxfa_corner.h" |
21 #include "xfa/fxgraphics/cfx_color.h" | 23 #include "xfa/fxgraphics/cfx_color.h" |
22 #include "xfa/fxgraphics/cfx_path.h" | 24 #include "xfa/fxgraphics/cfx_path.h" |
23 #include "xfa/fxgraphics/cfx_pattern.h" | 25 #include "xfa/fxgraphics/cfx_pattern.h" |
24 #include "xfa/fxgraphics/cfx_shading.h" | 26 #include "xfa/fxgraphics/cfx_shading.h" |
25 #include "xfa/fxgraphics/include/cfx_graphics.h" | 27 #include "xfa/fxgraphics/include/cfx_graphics.h" |
(...skipping 1951 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1977 iType != XFA_ELEMENT_Rectangle) { | 1979 iType != XFA_ELEMENT_Rectangle) { |
1978 return; | 1980 return; |
1979 } | 1981 } |
1980 CXFA_StrokeArray strokes; | 1982 CXFA_StrokeArray strokes; |
1981 if (!(dwFlags & XFA_DRAWBOX_ForceRound) && iType != XFA_ELEMENT_Arc) { | 1983 if (!(dwFlags & XFA_DRAWBOX_ForceRound) && iType != XFA_ELEMENT_Arc) { |
1982 box.GetStrokes(strokes); | 1984 box.GetStrokes(strokes); |
1983 } | 1985 } |
1984 XFA_BOX_Fill(box, strokes, pGS, rtWidget, pMatrix, dwFlags); | 1986 XFA_BOX_Fill(box, strokes, pGS, rtWidget, pMatrix, dwFlags); |
1985 XFA_BOX_Stroke(box, strokes, pGS, rtWidget, pMatrix, dwFlags); | 1987 XFA_BOX_Stroke(box, strokes, pGS, rtWidget, pMatrix, dwFlags); |
1986 } | 1988 } |
OLD | NEW |