Home
last modified time | relevance | path

Searched defs:Color (Results 1 – 7 of 7) sorted by relevance

/StarryEngine/starry_client/src/base/
H A Dcolor.rs5 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 Drenderer.rs28 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 Ddisplay.rs34 pub fn rect(&mut self, rect: &Rect, color: Color) { in rect()
H A Dimage.rs213 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 Dwindow.rs59 fn data(&self) -> &[Color] { in data()
63 fn data_mut(&mut self) -> &mut [Color] { in data_mut()
/StarryEngine/starry_toolkit/src/base/
H A Dpanel.rs56 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 Dimage.rs76 pub fn set_from_color(&self, color: Color) { in set_from_color()