Lines Matching refs:bottom_right
6 bottom_right: BackendCoord, in draw_rect()
13 let (upper_left, bottom_right) = ( in draw_rect()
15 upper_left.0.min(bottom_right.0), in draw_rect()
16 upper_left.1.min(bottom_right.1), in draw_rect()
19 upper_left.0.max(bottom_right.0), in draw_rect()
20 upper_left.1.max(bottom_right.1), in draw_rect()
25 if bottom_right.0 - upper_left.0 < bottom_right.1 - upper_left.1 { in draw_rect()
26 for x in upper_left.0..=bottom_right.0 { in draw_rect()
27 check_result!(b.draw_line((x, upper_left.1), (x, bottom_right.1), style)); in draw_rect()
30 for y in upper_left.1..=bottom_right.1 { in draw_rect()
31 check_result!(b.draw_line((upper_left.0, y), (bottom_right.0, y), style)); in draw_rect()
37 (upper_left.0, bottom_right.1), in draw_rect()
42 (bottom_right.0, upper_left.1), in draw_rect()
46 (bottom_right.0, bottom_right.1), in draw_rect()
47 (upper_left.0, bottom_right.1), in draw_rect()
51 (bottom_right.0, bottom_right.1), in draw_rect()
52 (bottom_right.0, upper_left.1), in draw_rect()