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

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

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