1//! Resolution for rendering (dots per inch = DPI). 2 3#[derive(Debug, Copy, Clone)] 4pub struct Dpi { 5 pub x: f64, 6 pub y: f64, 7} 8 9impl Dpi { 10 pub fn new(x: f64, y: f64) -> Dpi { 11 Dpi { x, y } 12 } 13}