Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(156)

Side by Side Diff: core/fpdfapi/fpdf_page/fpdf_page_parser.cpp

Issue 2216853004: Refactor fx_ge part 2 (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Fixing build, comments Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « BUILD.gn ('k') | core/fpdfapi/fpdf_page/include/cpdf_path.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_page/pageint.h" 7 #include "core/fpdfapi/fpdf_page/pageint.h"
8 8
9 #include <memory> 9 #include <memory>
10 #include <utility> 10 #include <utility>
(...skipping 16 matching lines...) Expand all
27 #include "core/fpdfapi/fpdf_parser/include/cpdf_array.h" 27 #include "core/fpdfapi/fpdf_parser/include/cpdf_array.h"
28 #include "core/fpdfapi/fpdf_parser/include/cpdf_dictionary.h" 28 #include "core/fpdfapi/fpdf_parser/include/cpdf_dictionary.h"
29 #include "core/fpdfapi/fpdf_parser/include/cpdf_document.h" 29 #include "core/fpdfapi/fpdf_parser/include/cpdf_document.h"
30 #include "core/fpdfapi/fpdf_parser/include/cpdf_name.h" 30 #include "core/fpdfapi/fpdf_parser/include/cpdf_name.h"
31 #include "core/fpdfapi/fpdf_parser/include/cpdf_number.h" 31 #include "core/fpdfapi/fpdf_parser/include/cpdf_number.h"
32 #include "core/fpdfapi/fpdf_parser/include/cpdf_reference.h" 32 #include "core/fpdfapi/fpdf_parser/include/cpdf_reference.h"
33 #include "core/fpdfapi/fpdf_parser/include/cpdf_stream.h" 33 #include "core/fpdfapi/fpdf_parser/include/cpdf_stream.h"
34 #include "core/fpdfapi/fpdf_parser/include/cpdf_stream_acc.h" 34 #include "core/fpdfapi/fpdf_parser/include/cpdf_stream_acc.h"
35 #include "core/fpdfapi/fpdf_parser/include/fpdf_parser_decode.h" 35 #include "core/fpdfapi/fpdf_parser/include/fpdf_parser_decode.h"
36 #include "core/fxcrt/include/fx_safe_types.h" 36 #include "core/fxcrt/include/fx_safe_types.h"
37 #include "core/fxge/include/cfx_pathdata.h"
37 38
38 namespace { 39 namespace {
39 40
40 const int kSingleCoordinatePair = 1; 41 const int kSingleCoordinatePair = 1;
41 const int kTensorCoordinatePairs = 16; 42 const int kTensorCoordinatePairs = 16;
42 const int kCoonsCoordinatePairs = 12; 43 const int kCoonsCoordinatePairs = 12;
43 const int kSingleColorPerPatch = 1; 44 const int kSingleColorPerPatch = 1;
44 const int kQuadColorsPerPatch = 4; 45 const int kQuadColorsPerPatch = 4;
45 46
46 const char kPathOperatorSubpath = 'm'; 47 const char kPathOperatorSubpath = 'm';
(...skipping 1636 matching lines...) Expand 10 before | Expand all | Expand 10 after
1683 } else { 1684 } else {
1684 PDF_ReplaceAbbr(pElement); 1685 PDF_ReplaceAbbr(pElement);
1685 } 1686 }
1686 } 1687 }
1687 break; 1688 break;
1688 } 1689 }
1689 default: 1690 default:
1690 break; 1691 break;
1691 } 1692 }
1692 } 1693 }
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | core/fpdfapi/fpdf_page/include/cpdf_path.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698