| 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/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 Loading... |
| 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 } |
| OLD | NEW |