Home
last modified time | relevance | path

Searched defs:i32 (Results 1 – 12 of 12) sorted by relevance

/StarryEngine/starry_client/src/base/
H A Dgraphicspath.rs28 pub fn move_to(&mut self, x: i32, y: i32) { in move_to()
35 pub fn line_to(&mut self, x: i32, y: i32) { in line_to()
42 pub fn quadratic_bezier_curve_to(&mut self, argx1: i32, argy1: i32, argx2: i32, argy2: i32) { in quadratic_bezier_curve_to()
76 argx1: i32, in cubic_bezier_curve_to()
77 argy1: i32, in cubic_bezier_curve_to()
78 argx2: i32, in cubic_bezier_curve_to()
79 argy2: i32, in cubic_bezier_curve_to()
80 argx3: i32, in cubic_bezier_curve_to()
81 argy3: i32, in cubic_bezier_curve_to()
H A Drenderer.rs46 fn pixel(&mut self, x: i32, y: i32, color: Color) { in pixel()
85 fn char(&mut self, x: i32, y: i32, c: char, color: Color) { in char()
113 fn image(&mut self, start_x: i32, start_y: i32, w: u32, h: u32, data: &[Color]) { in image()
126 fn image_over(&mut self, start: i32, image_data: &[Color]) { in image_over()
138 fn image_opaque(&mut self, start_x: i32, start_y: i32, w: u32, h: u32, image_data: &[Color]) { in image_opaque()
173 fn image_fast(&mut self, start_x: i32, start_y: i32, w: u32, h: u32, image_data: &[Color]) { in image_fast()
224 fn arc(&mut self, x0: i32, y0: i32, radius: i32, parts: u8, color: Color) { in arc()
294 fn circle(&mut self, x0: i32, y0: i32, radius: i32, color: Color) { in circle()
345 fn line4points(&mut self, x0: i32, y0: i32, x: i32, y: i32, color: Color) { in line4points()
364 fn line(&mut self, argx1: i32, argy1: i32, argx2: i32, argy2: i32, color: Color) { in line()
[all …]
/StarryEngine/starry_server/src/base/
H A Drect.rs19 pub fn new(x: i32, y: i32, w: i32, h: i32) -> Rect { in new()
27 pub fn area(&self) -> i32 { in area()
32 pub fn left(&self) -> i32 { in left()
37 pub fn right(&self) -> i32 { in right()
42 pub fn top(&self) -> i32 { in top()
47 pub fn bottom(&self) -> i32 { in bottom()
52 pub fn width(&self) -> i32 { in width()
57 pub fn height(&self) -> i32 { in height()
85 pub fn contains(&self, x: i32, y: i32) -> bool { in contains()
104 pub fn offset(&self, x: i32, y: i32) -> Rect { in offset()
H A Ddisplay.rs20 pub fn new(x: i32, y: i32, width: i32, height: i32) -> Self { in new()
63 pub fn resize(&mut self, width: i32, height: i32) { in resize()
H A Dwindow.rs50 pub fn new(x: i32, y: i32, _w: i32, _h: i32, scale: i32, image_path: &[u8]) -> Window { in new()
69 pub fn width(&self) -> i32 { in width()
74 pub fn height(&self) -> i32 { in height()
H A Dimage.rs175 pub fn from_data(width: i32, height: i32, data: &'a mut [Color]) -> Self { in from_data()
185 pub fn width(&self) -> i32 { in width()
190 pub fn height(&self) -> i32 { in height()
245 pub fn new(width: i32, height: i32) -> Self { in new()
250 pub fn from_color(width: i32, height: i32, color: Color) -> Self { in from_color()
259 pub fn from_data(width: i32, height: i32, data: Box<[Color]>) -> Self { in from_data()
306 pub fn width(&self) -> i32 { in width()
311 pub fn height(&self) -> i32 { in height()
316 pub fn dimensions(&self) -> (i32, i32) { in dimensions()
/StarryEngine/starry_client/src/
H A Dwindow.rs96 pub fn new(x: i32, y: i32, w: u32, h: u32, title: &str, color: Color) -> Self { in new()
115 pub fn x(&self) -> i32 { in x()
120 pub fn y(&self) -> i32 { in y()
130 pub fn set_pos(&mut self, x: i32, y: i32) { in set_pos()
/StarryEngine/starry_server/src/core/
H A Dwindow_manager.rs111 mut x: i32, in window_new()
112 mut y: i32, in window_new()
113 width: i32, in window_new()
114 height: i32, in window_new()
251 fn update_cursor(&self, x: i32, y: i32, kind: CursorKind) { in update_cursor()
/StarryEngine/starry_toolkit/src/base/
H A Drect.rs17 pub fn new(x: i32, y: i32, width: u32, height: u32) -> Rect { in new()
H A Dvector2.rs13 pub fn new(x: i32, y: i32) -> Self { in new()
H A Dpanel.rs137 pub fn x(&self) -> i32 { in x()
143 pub fn y(&self) -> i32 { in y()
172 pub fn set_pos(&self, x: i32, y: i32) { in set_pos()
/StarryEngine/starry_toolkit/src/layout/
H A Dgrid.rs156 pub fn set_space(&self, x: i32, y: i32) -> &Self { in set_space()