OLD | NEW |
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/include/cpdf_pageobjectholder.h" | 7 #include "core/fpdfapi/fpdf_page/include/cpdf_pageobjectholder.h" |
8 | 8 |
| 9 #include "core/fpdfapi/fpdf_page/include/cpdf_pageobject.h" |
9 #include "core/fpdfapi/fpdf_page/pageint.h" | 10 #include "core/fpdfapi/fpdf_page/pageint.h" |
10 | 11 |
11 CPDF_PageObjectHolder::CPDF_PageObjectHolder() | 12 CPDF_PageObjectHolder::CPDF_PageObjectHolder() |
12 : m_pFormDict(nullptr), | 13 : m_pFormDict(nullptr), |
13 m_pFormStream(nullptr), | 14 m_pFormStream(nullptr), |
14 m_pDocument(nullptr), | 15 m_pDocument(nullptr), |
15 m_pPageResources(nullptr), | 16 m_pPageResources(nullptr), |
16 m_pResources(nullptr), | 17 m_pResources(nullptr), |
17 m_Transparency(0), | 18 m_Transparency(0), |
18 m_bBackgroundAlphaNeeded(FALSE), | 19 m_bBackgroundAlphaNeeded(FALSE), |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 return; | 65 return; |
65 } | 66 } |
66 m_Transparency |= PDFTRANS_GROUP; | 67 m_Transparency |= PDFTRANS_GROUP; |
67 if (pGroup->GetIntegerBy("I")) { | 68 if (pGroup->GetIntegerBy("I")) { |
68 m_Transparency |= PDFTRANS_ISOLATED; | 69 m_Transparency |= PDFTRANS_ISOLATED; |
69 } | 70 } |
70 if (pGroup->GetIntegerBy("K")) { | 71 if (pGroup->GetIntegerBy("K")) { |
71 m_Transparency |= PDFTRANS_KNOCKOUT; | 72 m_Transparency |= PDFTRANS_KNOCKOUT; |
72 } | 73 } |
73 } | 74 } |
OLD | NEW |