Searched refs:from_dpi (Results 1 – 3 of 3) sorted by relevance
117 let mut from_dpi = HashMap::new(); localVariable118 from_dpi.insert(Unit::Dpi, Number::one());119 from_dpi.insert(Unit::Dpcm, Number::from(2.54));120 from_dpi.insert(Unit::Dppx, Number::from(96));152 m.insert(Unit::Dpi, from_dpi);
327 pub fn from_dpi(dpi: Dpi) -> NormalizeParams { in from_dpi() method712 let params = NormalizeParams::from_dpi(Dpi::new(40.0, 96.0)); in to_points_works()
521 let params = NormalizeParams::from_dpi(Dpi::new(self.dpi.0, self.dpi.1)); in convert()