Trait palette::white_point::WhitePoint [−][src]
pub trait WhitePoint { fn get_xyz<Wp: WhitePoint, T: Component + Float>() -> Xyz<Wp, T>; }
WhitePoint defines the Xyz color co-ordinates for a given white point.
A white point (often referred to as reference white or target white in technical documents) is a set of tristimulus values or chromaticity coordinates that serve to define the color "white" in image capture, encoding, or reproduction.
Custom white points can be easily defined on an empty struct with the tristimulus values and can be used in place of the ones defined in this library.
Required Methods
fn get_xyz<Wp: WhitePoint, T: Component + Float>() -> Xyz<Wp, T>
Get the Xyz chromacity co-ordinates for the white point.
Implementors
impl WhitePoint for A
impl WhitePoint for B
impl WhitePoint for C
impl WhitePoint for D50
impl WhitePoint for D55
impl WhitePoint for D65
impl WhitePoint for D75
impl WhitePoint for E
impl WhitePoint for F2
impl WhitePoint for F7
impl WhitePoint for F11
impl WhitePoint for D50Degree10
impl WhitePoint for D55Degree10
impl WhitePoint for D65Degree10
impl WhitePoint for D75Degree10