Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
cfgas_gecolor.cpp
Go to the documentation of this file.
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 "xfa/fgas/graphics/cfgas_gecolor.h"
8
9CFGAS_GEColor::CFGAS_GEColor(const FX_ARGB argb)
10 : m_type(Solid), m_argb(argb) {}
11
12CFGAS_GEColor::CFGAS_GEColor(CFGAS_GEPattern* pattern, const FX_ARGB argb)
13 : m_type(Pattern), m_argb(argb), m_pPattern(pattern) {}
14
15CFGAS_GEColor::CFGAS_GEColor(CFGAS_GEShading* shading)
16 : m_type(Shading), m_pShading(shading) {}
17
18CFGAS_GEColor::CFGAS_GEColor(const CFGAS_GEColor& that) = default;
19
20CFGAS_GEColor::~CFGAS_GEColor() = default;
21
22CFGAS_GEColor& CFGAS_GEColor::operator=(const CFGAS_GEColor& that) = default;
CFGAS_GEColor & operator=(const CFGAS_GEColor &that)
CFGAS_GEColor(const CFGAS_GEColor &that)
CFGAS_GEColor(const FX_ARGB argb)
CFGAS_GEColor(CFGAS_GEPattern *pattern, const FX_ARGB argb)
CFGAS_GEColor(CFGAS_GEShading *shading)