pub trait ImageSurfaceDataExt {
    // Required method
    fn set_pixel(&mut self, stride: usize, pixel: Pixel, x: u32, y: u32);
}
Expand description

Extension methods for cairo::ImageSurfaceData.

Required Methods§

source

fn set_pixel(&mut self, stride: usize, pixel: Pixel, x: u32, y: u32)

Sets the pixel at the given coordinates. Assumes the ARgb32 format.

Implementations on Foreign Types§

source§

impl ImageSurfaceDataExt for [u8]

source§

fn set_pixel(&mut self, stride: usize, pixel: Pixel, x: u32, y: u32)

source§

impl ImageSurfaceDataExt for [u32]

source§

fn set_pixel(&mut self, stride: usize, pixel: Pixel, x: u32, y: u32)

source§

impl<'a> ImageSurfaceDataExt for ImageSurfaceData<'a>

source§

fn set_pixel(&mut self, stride: usize, pixel: Pixel, x: u32, y: u32)

Implementors§