Searched refs:self_h (Results 1 – 1 of 1) sorted by relevance
462 let self_h = self.height(); in rect() localVariable464 let start_y = cmp::max(0, cmp::min(self_h as i32 - 1, y)); in rect()465 let end_y = cmp::max(start_y, cmp::min(self_h as i32, y + h as i32)); in rect()