Searched refs:self_w (Results 1 – 1 of 1) sorted by relevance
461 let self_w = self.width(); in rect() localVariable467 let start_x = cmp::max(0, cmp::min(self_w as i32 - 1, x)); in rect()468 let end_x = cmp::max(start_x, cmp::min(self_w as i32, x + w as i32)); in rect()477 let start = (y * self_w as i32 + start_x) as isize; in rect()