Home
last modified time | relevance | path

Searched defs:Rect (Results 1 – 15 of 15) sorted by relevance

/StarryEngine/starry_toolkit/src/util/
H A Dmod.rs19 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 Drect.rs5 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 Ddisplay.rs34 pub fn rect(&mut self, rect: &Rect, color: Color) { in rect() method
68 pub fn screen_rect(&self) -> Rect { in screen_rect()
H A Dwindow.rs79 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 Drect.rs5 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 Dpanel.rs103 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 Dcompositor.rs140 pub fn request_redraw(&self, rect: Rect) { in request_redraw()
H A Dwindow_manager.rs269 pub fn cursor_rect(&self) -> Rect { in cursor_rect()
/StarryEngine/starry_applications/src/asset_manager/code/
H A Dasset_item_list.rs95 fn rect(&self) -> &Cell<Rect> { in rect()
H A Dasset_item_grid.rs100 fn rect(&self) -> &Cell<Rect> { in rect()
/StarryEngine/starry_toolkit/src/widgets/
H A Dimage.rs98 fn rect(&self) -> &Cell<Rect> { in rect()
H A Dmod.rs52 fn rect(&self) -> &Cell<Rect>; in rect()
H A Dlabel.rs138 fn rect(&self) -> &Cell<Rect> { in rect()
/StarryEngine/starry_toolkit/src/layout/
H A Dlist.rs184 fn rect(&self) -> &Cell<Rect> { in rect()
H A Dgrid.rs255 fn rect(&self) -> &Cell<Rect> { in rect()