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 "../../../include/fpdfapi/fpdf_page.h" | |
8 #include "../../../include/fpdfapi/fpdf_module.h" | |
9 #include "../../../include/fpdfapi/fpdf_serial.h" | |
10 #include "pageint.h" | 7 #include "pageint.h" |
11 | 8 |
| 9 #include "core/include/fpdfapi/fpdf_module.h" |
| 10 #include "core/include/fpdfapi/fpdf_page.h" |
| 11 #include "core/include/fpdfapi/fpdf_serial.h" |
| 12 |
12 #define REQUIRE_PARAMS(count) \ | 13 #define REQUIRE_PARAMS(count) \ |
13 if (m_ParamCount != count) { \ | 14 if (m_ParamCount != count) { \ |
14 return; \ | 15 return; \ |
15 } | 16 } |
16 | 17 |
17 CPDF_StreamContentParser::CPDF_StreamContentParser( | 18 CPDF_StreamContentParser::CPDF_StreamContentParser( |
18 CPDF_Document* pDocument, | 19 CPDF_Document* pDocument, |
19 CPDF_Dictionary* pPageResources, | 20 CPDF_Dictionary* pPageResources, |
20 CPDF_Dictionary* pParentResources, | 21 CPDF_Dictionary* pParentResources, |
21 CFX_AffineMatrix* pmtContentToUser, | 22 CFX_AffineMatrix* pmtContentToUser, |
(...skipping 1503 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1525 m_pObjectList->m_ObjectList.AddTail(pPathObj); | 1526 m_pObjectList->m_ObjectList.AddTail(pPathObj); |
1526 } | 1527 } |
1527 if (PathClipType) { | 1528 if (PathClipType) { |
1528 if (!matrix.IsIdentity()) { | 1529 if (!matrix.IsIdentity()) { |
1529 Path.Transform(&matrix); | 1530 Path.Transform(&matrix); |
1530 matrix.SetIdentity(); | 1531 matrix.SetIdentity(); |
1531 } | 1532 } |
1532 m_pCurStates->m_ClipPath.AppendPath(Path, PathClipType, TRUE); | 1533 m_pCurStates->m_ClipPath.AppendPath(Path, PathClipType, TRUE); |
1533 } | 1534 } |
1534 } | 1535 } |
OLD | NEW |