Searched refs:start_x (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() 143 let start_x = start_x as usize; in image_opaque() localVariable 147 if start_x >= width || start_y >= height { in image_opaque() 154 let offset = start_y * width + start_x; in image_opaque() 162 if start_x + w > width { 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() 177 let start_x = start_x as usize; in image_fast() localVariable [all …]
|