#include "core/fxge/cfx_color.h"
#include <algorithm>
#include "core/fxcrt/notreached.h"
static_assert …;
static_assert …;
static_assert …;
namespace {
bool InRange(float comp) { … }
CFX_Color ConvertCMYK2GRAY(float dC, float dM, float dY, float dK) { … }
CFX_Color ConvertGRAY2CMYK(float dGray) { … }
CFX_Color ConvertGRAY2RGB(float dGray) { … }
CFX_Color ConvertRGB2GRAY(float dR, float dG, float dB) { … }
CFX_Color ConvertCMYK2RGB(float dC, float dM, float dY, float dK) { … }
CFX_Color ConvertRGB2CMYK(float dR, float dG, float dB) { … }
}
CFX_Color CFX_Color::ConvertColorType(Type nConvertColorType) const { … }
FX_COLORREF CFX_Color::ToFXColor(int32_t nTransparency) const { … }
CFX_Color CFX_Color::operator-(float fColorSub) const { … }
CFX_Color CFX_Color::operator/(float fColorDivide) const { … }