• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2016 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 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 
7 #include "core/fpdfapi/page/cpdf_graphicstates.h"
8 
9 CPDF_GraphicStates::CPDF_GraphicStates() = default;
10 
11 CPDF_GraphicStates::CPDF_GraphicStates(const CPDF_GraphicStates& that) =
12     default;
13 
14 CPDF_GraphicStates& CPDF_GraphicStates::operator=(
15     const CPDF_GraphicStates& that) = default;
16 
17 CPDF_GraphicStates::~CPDF_GraphicStates() = default;
18 
SetDefaultStates()19 void CPDF_GraphicStates::SetDefaultStates() {
20   m_ColorState.Emplace();
21   m_ColorState.SetDefault();
22 }
23