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/src/fpdfapi/fpdf_page/pageint.h" | 7 #include "core/src/fpdfapi/fpdf_page/pageint.h" |
8 | 8 |
| 9 #include <vector> |
| 10 |
9 #include "core/include/fpdfapi/fpdf_module.h" | 11 #include "core/include/fpdfapi/fpdf_module.h" |
10 #include "core/include/fpdfapi/fpdf_page.h" | 12 #include "core/include/fpdfapi/fpdf_page.h" |
11 #include "core/include/fpdfapi/fpdf_serial.h" | 13 #include "core/include/fpdfapi/fpdf_serial.h" |
12 | 14 |
13 namespace { | 15 namespace { |
14 | 16 |
15 const char kPathOperatorSubpath = 'm'; | 17 const char kPathOperatorSubpath = 'm'; |
16 const char kPathOperatorLine = 'l'; | 18 const char kPathOperatorLine = 'l'; |
17 const char kPathOperatorCubicBezier1 = 'c'; | 19 const char kPathOperatorCubicBezier1 = 'c'; |
18 const char kPathOperatorCubicBezier2 = 'v'; | 20 const char kPathOperatorCubicBezier2 = 'v'; |
(...skipping 1782 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1801 } else { | 1803 } else { |
1802 PDF_ReplaceAbbr(pElement); | 1804 PDF_ReplaceAbbr(pElement); |
1803 } | 1805 } |
1804 } | 1806 } |
1805 break; | 1807 break; |
1806 } | 1808 } |
1807 default: | 1809 default: |
1808 break; | 1810 break; |
1809 } | 1811 } |
1810 } | 1812 } |
OLD | NEW |