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

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

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