Searched defs:Color (Results 1 – 7 of 7) sorted by relevance
/StarryEngine/starry_client/src/base/ |
H A D | color.rs | 5 pub struct Color { struct 11 impl Color { impl 47 pub fn interpolate(from_color: Color, to_color: Color, scale: f64) -> Color { in interpolate() 72 impl PartialEq for Color { implementation 78 impl fmt::Debug for Color { implementation
|
H A D | renderer.rs | 28 fn data(&self) -> &[Color]; in data() 31 fn data_mut(&mut self) -> &mut [Color]; in data_mut() 46 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() [all …]
|
/StarryEngine/starry_server/src/base/ |
H A D | display.rs | 34 pub fn rect(&mut self, rect: &Rect, color: Color) { in rect()
|
H A D | image.rs | 213 fn data(&self) -> &[Color] { in data() 217 fn data_mut(&mut self) -> &mut [Color] { in data_mut() 370 fn data(&self) -> &[Color] { in data() 374 fn data_mut(&mut self) -> &mut [Color] { in data_mut()
|
/StarryEngine/starry_client/src/ |
H A D | window.rs | 59 fn data(&self) -> &[Color] { in data() 63 fn data_mut(&mut self) -> &mut [Color] { in data_mut()
|
/StarryEngine/starry_toolkit/src/base/ |
H A D | panel.rs | 56 fn data(&self) -> &[Color] { in data() 60 fn data_mut(&mut self) -> &mut [Color] { in data_mut() 258 fn draw_rect_wireframe(renderer: &mut dyn Renderer, rect: Rect, color: Color) { in draw_rect_wireframe()
|
/StarryEngine/starry_toolkit/src/widgets/ |
H A D | image.rs | 76 pub fn set_from_color(&self, color: Color) { in set_from_color()
|