| 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 "core/fpdfapi/fpdf_render/render_int.h" | 7 #include "core/fpdfapi/fpdf_render/render_int.h" |
| 8 | 8 |
| 9 #include <algorithm> | 9 #include <algorithm> |
| 10 | 10 |
| 11 #include "core/fpdfapi/fpdf_page/cpdf_form.h" |
| 11 #include "core/fpdfapi/fpdf_page/cpdf_graphicstates.h" | 12 #include "core/fpdfapi/fpdf_page/cpdf_graphicstates.h" |
| 12 #include "core/fpdfapi/fpdf_page/cpdf_meshstream.h" | 13 #include "core/fpdfapi/fpdf_page/cpdf_meshstream.h" |
| 14 #include "core/fpdfapi/fpdf_page/cpdf_pageobject.h" |
| 15 #include "core/fpdfapi/fpdf_page/cpdf_pathobject.h" |
| 16 #include "core/fpdfapi/fpdf_page/cpdf_shadingobject.h" |
| 13 #include "core/fpdfapi/fpdf_page/cpdf_shadingpattern.h" | 17 #include "core/fpdfapi/fpdf_page/cpdf_shadingpattern.h" |
| 14 #include "core/fpdfapi/fpdf_page/cpdf_tilingpattern.h" | 18 #include "core/fpdfapi/fpdf_page/cpdf_tilingpattern.h" |
| 15 #include "core/fpdfapi/fpdf_page/include/cpdf_form.h" | |
| 16 #include "core/fpdfapi/fpdf_page/include/cpdf_pageobject.h" | |
| 17 #include "core/fpdfapi/fpdf_page/include/cpdf_pathobject.h" | |
| 18 #include "core/fpdfapi/fpdf_page/include/cpdf_shadingobject.h" | |
| 19 #include "core/fpdfapi/fpdf_page/pageint.h" | 19 #include "core/fpdfapi/fpdf_page/pageint.h" |
| 20 #include "core/fpdfapi/fpdf_parser/include/cpdf_array.h" | 20 #include "core/fpdfapi/fpdf_parser/include/cpdf_array.h" |
| 21 #include "core/fpdfapi/fpdf_parser/include/cpdf_dictionary.h" | 21 #include "core/fpdfapi/fpdf_parser/include/cpdf_dictionary.h" |
| 22 #include "core/fpdfapi/fpdf_render/include/cpdf_rendercontext.h" | 22 #include "core/fpdfapi/fpdf_render/include/cpdf_rendercontext.h" |
| 23 #include "core/fpdfapi/fpdf_render/include/cpdf_renderoptions.h" | 23 #include "core/fpdfapi/fpdf_render/include/cpdf_renderoptions.h" |
| 24 #include "core/fxge/include/cfx_fxgedevice.h" | 24 #include "core/fxge/include/cfx_fxgedevice.h" |
| 25 #include "core/fxge/include/cfx_pathdata.h" | 25 #include "core/fxge/include/cfx_pathdata.h" |
| 26 #include "core/fxge/include/cfx_renderdevice.h" | 26 #include "core/fxge/include/cfx_renderdevice.h" |
| 27 #include "core/fxge/include/ifx_renderdevicedriver.h" | 27 #include "core/fxge/include/ifx_renderdevicedriver.h" |
| 28 | 28 |
| (...skipping 1177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1206 } | 1206 } |
| 1207 } | 1207 } |
| 1208 if (bStroke) { | 1208 if (bStroke) { |
| 1209 const CPDF_Color& StrokeColor = *pPathObj->m_ColorState.GetStrokeColor(); | 1209 const CPDF_Color& StrokeColor = *pPathObj->m_ColorState.GetStrokeColor(); |
| 1210 if (StrokeColor.IsPattern()) { | 1210 if (StrokeColor.IsPattern()) { |
| 1211 DrawPathWithPattern(pPathObj, pObj2Device, &StrokeColor, TRUE); | 1211 DrawPathWithPattern(pPathObj, pObj2Device, &StrokeColor, TRUE); |
| 1212 bStroke = FALSE; | 1212 bStroke = FALSE; |
| 1213 } | 1213 } |
| 1214 } | 1214 } |
| 1215 } | 1215 } |
| OLD | NEW |