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

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

Issue 2386423004: Move core/fpdfapi/fpdf_page to core/fpdfapi/page (Closed)
Patch Set: Rebase to master Created 4 years, 2 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 | « core/fpdfapi/page/cpdf_pageobjectholder.h ('k') | core/fpdfapi/page/cpdf_pageobjectlist.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 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/fpdf_page/cpdf_pageobjectholder.h" 7 #include "core/fpdfapi/page/cpdf_pageobjectholder.h"
8 8
9 #include "core/fpdfapi/fpdf_page/cpdf_pageobject.h"
10 #include "core/fpdfapi/fpdf_page/pageint.h"
11 #include "core/fpdfapi/fpdf_parser/cpdf_dictionary.h" 9 #include "core/fpdfapi/fpdf_parser/cpdf_dictionary.h"
10 #include "core/fpdfapi/page/cpdf_pageobject.h"
11 #include "core/fpdfapi/page/pageint.h"
12 12
13 CPDF_PageObjectHolder::CPDF_PageObjectHolder() 13 CPDF_PageObjectHolder::CPDF_PageObjectHolder()
14 : m_pFormDict(nullptr), 14 : m_pFormDict(nullptr),
15 m_pFormStream(nullptr), 15 m_pFormStream(nullptr),
16 m_pDocument(nullptr), 16 m_pDocument(nullptr),
17 m_pPageResources(nullptr), 17 m_pPageResources(nullptr),
18 m_pResources(nullptr), 18 m_pResources(nullptr),
19 m_Transparency(0), 19 m_Transparency(0),
20 m_bBackgroundAlphaNeeded(FALSE), 20 m_bBackgroundAlphaNeeded(FALSE),
21 m_bHasImageMask(FALSE), 21 m_bHasImageMask(FALSE),
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 return; 68 return;
69 } 69 }
70 m_Transparency |= PDFTRANS_GROUP; 70 m_Transparency |= PDFTRANS_GROUP;
71 if (pGroup->GetIntegerFor("I")) { 71 if (pGroup->GetIntegerFor("I")) {
72 m_Transparency |= PDFTRANS_ISOLATED; 72 m_Transparency |= PDFTRANS_ISOLATED;
73 } 73 }
74 if (pGroup->GetIntegerFor("K")) { 74 if (pGroup->GetIntegerFor("K")) {
75 m_Transparency |= PDFTRANS_KNOCKOUT; 75 m_Transparency |= PDFTRANS_KNOCKOUT;
76 } 76 }
77 } 77 }
OLDNEW
« no previous file with comments | « core/fpdfapi/page/cpdf_pageobjectholder.h ('k') | core/fpdfapi/page/cpdf_pageobjectlist.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698