Function style::color::convert::polar_to_orthogonal

source ยท
pub fn polar_to_orthogonal(from: &ColorComponents) -> ColorComponents
Expand description

Convert from the cylindrical polar to the rectangular orthogonal coordinate system. This is used to convert (ok)lch to (ok)lab. https://drafts.csswg.org/css-color-4/#lch-to-lab