Home
last modified time | relevance | path

Searched refs:box_size (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/plotters/src/element/
Dtext.rs94 let (dx, dy) = self.style.font.box_size(t.borrow())?; in estimate_dimension()
134 let width = font.box_size(&remaining[0..=left]).unwrap_or((0, 0)).0 as i32; in layout_multiline_text()
160 let (dx, dy) = self.style.font.box_size(t.borrow())?; in compute_line_layout()
/external/rust/crates/plotters/src/style/font/
Dfont_desc.rs179 pub fn box_size(&self, text: &str) -> FontResult<(u32, u32)> { in box_size() method