1 // Copyright 2016 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 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 
7 #include "xfa/fxgraphics/cxfa_gecolor.h"
8 
CXFA_GEColor(const FX_ARGB argb)9 CXFA_GEColor::CXFA_GEColor(const FX_ARGB argb) : m_type(Solid), m_argb(argb) {}
10 
CXFA_GEColor(CXFA_GEPattern * pattern,const FX_ARGB argb)11 CXFA_GEColor::CXFA_GEColor(CXFA_GEPattern* pattern, const FX_ARGB argb)
12     : m_type(Pattern), m_argb(argb), m_pPattern(pattern) {}
13 
CXFA_GEColor(CXFA_GEShading * shading)14 CXFA_GEColor::CXFA_GEColor(CXFA_GEShading* shading)
15     : m_type(Shading), m_pShading(shading) {}
16 
17 CXFA_GEColor::CXFA_GEColor(const CXFA_GEColor& that) = default;
18 
19 CXFA_GEColor::~CXFA_GEColor() = default;
20 
21 CXFA_GEColor& CXFA_GEColor::operator=(const CXFA_GEColor& that) = default;
22