Struct exoquant::SimpleColorSpace [] [src]

pub struct SimpleColorSpace {
    pub gamma: f64,
    pub dither_gamma: f64,
    pub transparency_scale: f64,
    pub scale: Colorf,
}

The default colorspace implementation.

Fields

gamma
dither_gamma
transparency_scale
scale

Trait Implementations

impl Default for SimpleColorSpace
[src]

fn default() -> SimpleColorSpace

Returns the "default value" for a type. Read more

impl ColorSpace for SimpleColorSpace
[src]

fn to_linear(&self, color: Colorf) -> Colorf

fn from_linear(&self, color: Colorf) -> Colorf

fn to_dither(&self, color: Colorf) -> Colorf

fn from_dither(&self, color: Colorf) -> Colorf

fn to_float(&self, c: Color) -> Colorf

fn from_float(&self, c: Colorf) -> Color