Skia
2D Graphics Library
SkColorSpacePrimaries Struct Reference

Describes a color gamut with primaries and a white point. More...

#include <SkColorSpace.h>

Public Member Functions

bool toXYZD50 (skcms_Matrix3x3 *toXYZD50) const
 Convert primaries and a white point to a toXYZD50 matrix, the preferred color gamut representation of SkColorSpace. More...
 

Public Attributes

float fRX
 
float fRY
 
float fGX
 
float fGY
 
float fBX
 
float fBY
 
float fWX
 
float fWY
 

Detailed Description

Describes a color gamut with primaries and a white point.

Member Function Documentation

◆ toXYZD50()

bool SkColorSpacePrimaries::toXYZD50 ( skcms_Matrix3x3 *  toXYZD50) const

Convert primaries and a white point to a toXYZD50 matrix, the preferred color gamut representation of SkColorSpace.

Member Data Documentation

◆ fBX

float SkColorSpacePrimaries::fBX

◆ fBY

float SkColorSpacePrimaries::fBY

◆ fGX

float SkColorSpacePrimaries::fGX

◆ fGY

float SkColorSpacePrimaries::fGY

◆ fRX

float SkColorSpacePrimaries::fRX

◆ fRY

float SkColorSpacePrimaries::fRY

◆ fWX

float SkColorSpacePrimaries::fWX

◆ fWY

float SkColorSpacePrimaries::fWY

The documentation for this struct was generated from the following file: