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

Side by Side Diff: core/fpdfapi/page/cpdf_pageobjectholder.cpp

Issue 2521123003: Continue splitting pageint.h into per-class files (Closed)
Patch Set: const Created 4 years, 1 month 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 | « core/fpdfapi/page/cpdf_page.cpp ('k') | core/fpdfapi/page/cpdf_streamcontentparser.cpp » ('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 2016 PDFium Authors. All rights reserved. 1 // Copyright 2016 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/page/cpdf_pageobjectholder.h" 7 #include "core/fpdfapi/page/cpdf_pageobjectholder.h"
8 8
9 #include <algorithm> 9 #include <algorithm>
10 10
11 #include "core/fpdfapi/page/cpdf_contentparser.h"
11 #include "core/fpdfapi/page/cpdf_pageobject.h" 12 #include "core/fpdfapi/page/cpdf_pageobject.h"
12 #include "core/fpdfapi/page/pageint.h" 13 #include "core/fpdfapi/page/pageint.h"
13 #include "core/fpdfapi/parser/cpdf_dictionary.h" 14 #include "core/fpdfapi/parser/cpdf_dictionary.h"
14 15
15 CPDF_PageObjectHolder::CPDF_PageObjectHolder() 16 CPDF_PageObjectHolder::CPDF_PageObjectHolder()
16 : m_pFormDict(nullptr), 17 : m_pFormDict(nullptr),
17 m_pFormStream(nullptr), 18 m_pFormStream(nullptr),
18 m_pDocument(nullptr), 19 m_pDocument(nullptr),
19 m_pPageResources(nullptr), 20 m_pPageResources(nullptr),
20 m_pResources(nullptr), 21 m_pResources(nullptr),
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 return; 71 return;
71 } 72 }
72 m_Transparency |= PDFTRANS_GROUP; 73 m_Transparency |= PDFTRANS_GROUP;
73 if (pGroup->GetIntegerFor("I")) { 74 if (pGroup->GetIntegerFor("I")) {
74 m_Transparency |= PDFTRANS_ISOLATED; 75 m_Transparency |= PDFTRANS_ISOLATED;
75 } 76 }
76 if (pGroup->GetIntegerFor("K")) { 77 if (pGroup->GetIntegerFor("K")) {
77 m_Transparency |= PDFTRANS_KNOCKOUT; 78 m_Transparency |= PDFTRANS_KNOCKOUT;
78 } 79 }
79 } 80 }
OLDNEW
« no previous file with comments | « core/fpdfapi/page/cpdf_page.cpp ('k') | core/fpdfapi/page/cpdf_streamcontentparser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698