• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2018 PDFium Authors. All rights reserved.
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 
IsGroup()14   bool IsGroup() const { return m_bGroup; }
IsIsolated()15   bool IsIsolated() const { return m_bIsolated; }
16 
SetGroup()17   void SetGroup() { m_bGroup = true; }
SetIsolated()18   void SetIsolated() { m_bIsolated = true; }
19 
20  private:
21   bool m_bGroup = false;
22   bool m_bIsolated = false;
23 };
24 
25 #endif  // CORE_FPDFAPI_PAGE_CPDF_TRANSPARENCY_H_
26