Searched defs:offset (Results 1 – 5 of 5) sorted by relevance
124 let offset = (((y + display_redraw.top()) * SCREEN_WIDTH as i32) in redraw_all() localVariable
86 let mut offset = (c as usize) * 16; in char() localVariable154 let offset = start_y * width + start_x; in image_opaque() localVariable185 let offset = start_y * width + start_x; in image_fast() localVariable
104 pub fn offset(&self, x: i32, y: i32) -> Rect { in offset() method
286 let offset = y * img_width + x; in from_path() localVariable
75 let offset = (((y + self.y()) * SCREEN_WIDTH as i32) + x + self.x()) * 4; in sync() localVariable