map2fig 0.7.7

Fast, publication-quality HEALPix sky map visualization in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
pub trait RenderTarget {
    /// Draw a fully-rendered raster image at absolute coordinates
    fn blit_raster(&mut self, raster: &dyn PixelSource, x: f64, y: f64);
}

pub trait PixelSource {
    fn width(&self) -> u32;
    fn height(&self) -> u32;
    fn get_pixel(&self, x: u32, y: u32) -> [u8; 4];
}