Searched refs:pixel (Results 1 – 4 of 4) sorted by relevance
/StarryEngine/starry_client/src/base/ |
H A D | renderer.rs | 46 fn pixel(&mut self, x: i32, y: i32, color: Color) { in pixel() method 95 let pixel = (row_data >> (7 - col)) & 1; in char() localVariable 96 if pixel > 0 { in char() 97 self.pixel(x + col, y + row, color); in char() 256 self.pixel(x0, y0, color); in arc() 259 self.pixel(x0 - x, y0 + y, color); in arc() 262 self.pixel(x0 + x, y0 + y, color); in arc() 265 self.pixel(x0 - y, y0 + x, color); in arc() 268 self.pixel(x0 + y, y0 + x, color); in arc() 271 self.pixel(x0 - x, y0 - y, color); in arc() [all …]
|
/StarryEngine/starry_server/src/base/ |
H A D | image.rs | 285 let pixel = img.get_pixel(x, y); in from_path() localVariable 289 Color::rgba(pixel[0], pixel[1], pixel[2], pixel[3]); in from_path()
|
/StarryEngine/starry_client/src/ |
H A D | window.rs | 74 let pixel = self.get_pixel(x, y); in sync() localVariable 81 .write_all(&pixel.to_bgra_bytes()) in sync()
|
/StarryEngine/starry_server/src/core/ |
H A D | compositor.rs | 120 let pixel = display.image.get_pixel( in redraw_all() localVariable 130 fb.write_all(&pixel.to_bgra_bytes()) in redraw_all()
|