1 // Copyright 2018 The PDFium Authors 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef CORE_FPDFAPI_PAGE_CPDF_TRANSPARENCY_H_ 6 #define CORE_FPDFAPI_PAGE_CPDF_TRANSPARENCY_H_ 7 8 class CPDF_Transparency { 9 public: 10 CPDF_Transparency(); 11 12 CPDF_Transparency(const CPDF_Transparency& other); 13 CPDF_Transparency& operator=(const CPDF_Transparency& other); 14 IsGroup()15 bool IsGroup() const { return m_bGroup; } IsIsolated()16 bool IsIsolated() const { return m_bIsolated; } 17 SetGroup()18 void SetGroup() { m_bGroup = true; } SetIsolated()19 void SetIsolated() { m_bIsolated = true; } 20 21 private: 22 bool m_bGroup = false; 23 bool m_bIsolated = false; 24 }; 25 26 #endif // CORE_FPDFAPI_PAGE_CPDF_TRANSPARENCY_H_ 27