Searched defs:Rect (Results 1 – 15 of 15) sorted by relevance
/StarryEngine/starry_toolkit/src/util/ |
H A D | mod.rs | 19 origin_rect: Rect, in align_rect() 20 relative_rect: Rect, in align_rect() 23 ) -> Rect { in align_rect() 73 pub fn get_local_rect(source_rect: Rect, target_rect: Rect) -> Rect { in get_local_rect()
|
/StarryEngine/starry_server/src/base/ |
H A D | rect.rs | 5 pub struct Rect { struct 17 impl Rect { argument 19 pub fn new(x: i32, y: i32, w: i32, h: i32) -> Rect { in new() 62 pub fn container(&self, other: &Rect) -> Rect { in container() 75 pub fn intersection(&self, other: &Rect) -> Rect { in intersection() 104 pub fn offset(&self, x: i32, y: i32) -> Rect { in offset()
|
H A D | display.rs | 34 pub fn rect(&mut self, rect: &Rect, color: Color) { in rect() method 68 pub fn screen_rect(&self) -> Rect { in screen_rect()
|
H A D | window.rs | 79 pub fn rect(&self) -> Rect { in rect() 92 pub fn draw(&mut self, display: &mut Display, rect: &Rect) { in draw()
|
/StarryEngine/starry_toolkit/src/base/ |
H A D | rect.rs | 5 pub struct Rect { struct 16 impl Rect { argument 17 pub fn new(x: i32, y: i32, width: u32, height: u32) -> Rect { in new()
|
H A D | panel.rs | 103 pub fn new(rect: Rect, title: &str, color: Color) -> Arc<Panel> { in new() 161 pub fn rect(&self) -> Rect { in rect() 258 fn draw_rect_wireframe(renderer: &mut dyn Renderer, rect: Rect, color: Color) { in draw_rect_wireframe()
|
/StarryEngine/starry_server/src/core/ |
H A D | compositor.rs | 140 pub fn request_redraw(&self, rect: Rect) { in request_redraw()
|
H A D | window_manager.rs | 269 pub fn cursor_rect(&self) -> Rect { in cursor_rect()
|
/StarryEngine/starry_applications/src/asset_manager/code/ |
H A D | asset_item_list.rs | 95 fn rect(&self) -> &Cell<Rect> { in rect()
|
H A D | asset_item_grid.rs | 100 fn rect(&self) -> &Cell<Rect> { in rect()
|
/StarryEngine/starry_toolkit/src/widgets/ |
H A D | image.rs | 98 fn rect(&self) -> &Cell<Rect> { in rect()
|
H A D | mod.rs | 52 fn rect(&self) -> &Cell<Rect>; in rect()
|
H A D | label.rs | 138 fn rect(&self) -> &Cell<Rect> { in rect()
|
/StarryEngine/starry_toolkit/src/layout/ |
H A D | list.rs | 184 fn rect(&self) -> &Cell<Rect> { in rect()
|
H A D | grid.rs | 255 fn rect(&self) -> &Cell<Rect> { in rect()
|