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