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