Lines Matching refs:rect
11 base::{panel::Panel, rect::Rect, vector2::Vector2},
32 rect: Cell<Rect>, field
53 rect: Cell::new(Rect::default()), in new()
87 let rect = self.rect.get(); in handle_overflow() localVariable
89 if text.len() as u32 * 8 > rect.width { in handle_overflow()
90 let max_count = max(0, (rect.width as i32 - 3 * 8) / 8); in handle_overflow()
108 self.rect.get(), in handle_overflow()
138 fn rect(&self) -> &Cell<Rect> { in rect() method
139 &self.rect in rect()
186 self.panel().borrow().clone().unwrap().rect(), in draw()
203 self.rect.get(), in set_pivot_type()
214 self.rect.get(), in set_pivot_offset()
231 self.rect.get(), in arrange_self()