Searched refs:offset (Results 1 – 6 of 6) sorted by relevance
86 let mut offset = (c as usize) * 16; in char() localVariable88 let row_data = if offset < FONT_ASSET.len() { in char()89 FONT_ASSET[offset] in char()100 offset += 1; in char()154 let offset = start_y * width + start_x; in image_opaque() localVariable157 let start = offset + l * width; in image_opaque()185 let offset = start_y * width + start_x; in image_fast() localVariable189 let start = offset + l * width; in image_fast()481 *data_ptr.offset(i) = color; in rect()504 *data_ptr.offset(i) = color; in set()
102 &cursor_intersect.offset(-cursor_rect.left(), -cursor_rect.top()), in redraw_all()124 let offset = (((y + display_redraw.top()) * SCREEN_WIDTH as i32) in redraw_all() localVariable128 fb.seek(SeekFrom::Start(offset as u64)) in redraw_all()
101 .roi(&intersect.offset(-self_rect.left(), -self_rect.top())), in draw()109 .roi(&intersect.offset(-self_rect.left(), -self_rect.top())), in draw()
286 let offset = y * img_width + x; in from_path() localVariable288 image.data[offset as usize] = in from_path()
104 pub fn offset(&self, x: i32, y: i32) -> Rect { in offset() method
75 let offset = (((y + self.y()) * SCREEN_WIDTH as i32) + x + self.x()) * 4; in sync() localVariable78 .seek(SeekFrom::Start(offset as u64)) in sync()