1
//! Resolution for rendering (dots per inch = DPI).
2

            
3
52793
#[derive(Debug, Copy, Clone)]
4
pub struct Dpi {
5
    pub x: f64,
6
    pub y: f64,
7
}
8

            
9
impl Dpi {
10
2112
    pub fn new(x: f64, y: f64) -> Dpi {
11
2112
        Dpi { x, y }
12
2112
    }
13
}