Struct lcms2::ToneCurve [] [src]

pub struct ToneCurve {
    // some fields omitted
}

Methods

impl ToneCurve
[src]

fn new(gamma: f64) -> ToneCurve

fn new_tabulated(values: &[u16]) -> ToneCurve

fn new_tabulated_float(values: &[f32]) -> ToneCurve

fn reversed(&self) -> ToneCurve

fn is_multisegment(&self) -> bool

fn is_linear(&self) -> bool

fn is_monotonic(&self) -> bool

fn is_descending(&self) -> bool

fn parametric_type(&self) -> i32

fn estimated_gamma(&self, precision: f64) -> f64

fn smooth(&mut self, lambda: f64) -> bool

fn estimated_entries(&self) -> &[u16]

Trait Implementations

impl Clone for ToneCurve
[src]

fn clone(&self) -> ToneCurve

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Drop for ToneCurve
[src]

fn drop(&mut self)

A method called when the value goes out of scope. Read more