Searched refs:start_y (Results 1 – 1 of 1) sorted by relevance
/StarryEngine/starry_client/src/base/ |
H A D | renderer.rs | 113 fn image(&mut self, start_x: i32, start_y: i32, w: u32, h: u32, data: &[Color]) { in image() 115 RenderMode::Blend => self.image_fast(start_x, start_y, w, h, data), in image() 116 RenderMode::Overwrite => self.image_opaque(start_x, start_y, w, h, data), in image() 138 fn image_opaque(&mut self, start_x: i32, start_y: i32, w: u32, h: u32, image_data: &[Color]) { in image_opaque() 144 let start_y = start_y as usize; in image_opaque() localVariable 147 if start_x >= width || start_y >= height { in image_opaque() 150 if h + start_y > height { in image_opaque() 151 h = height - start_y; in image_opaque() 154 let offset = start_y * width + start_x; in image_opaque() 163 stop = (start_y + l + 1) * width - 1; in image_opaque() [all …]
|