Struct gamma_lut::GammaLut
[−]
[src]
pub struct GammaLut { /* fields omitted */ }
Methods
impl GammaLut
[src]
fn table_count(&self) -> usize
fn get_table(&self, color: u8) -> &[u8; 256]
fn new(contrast: f32, paint_gamma: f32, device_gamma: f32) -> GammaLut
fn preblend_default_colors_bgra(
&self,
pixels: &mut [u8],
width: usize,
height: usize
)
&self,
pixels: &mut [u8],
width: usize,
height: usize
)
fn preblend_bgra(
&self,
pixels: &mut [u8],
width: usize,
height: usize,
color: Color
)
&self,
pixels: &mut [u8],
width: usize,
height: usize,
color: Color
)
fn preblend_rgb(
&self,
pixels: &mut [u8],
width: usize,
height: usize,
color: Color
)
&self,
pixels: &mut [u8],
width: usize,
height: usize,
color: Color
)
fn preblend_grayscale_bgra(
&self,
pixels: &mut [u8],
width: usize,
height: usize,
color: Color
)
&self,
pixels: &mut [u8],
width: usize,
height: usize,
color: Color
)