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

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

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