File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -554,12 +554,12 @@ mod rect_tests {
554
554
assert_eq ! ( rect. transform( ts) . unwrap( ) , rect_ts) ;
555
555
556
556
// Skew box along x-axis - vertical lines at y=c go to y=c+x and
557
- // horizonal lines stay put. Result is bounding box
557
+ // horizontal lines stay put. Result is bounding box
558
558
let ts = Transform :: from_skew ( 1.0 , 0.0 ) ;
559
559
let bounding_rect: Rect = Rect :: from_ltrb ( 3.0 , 2.0 , 7.0 , 4.0 ) . unwrap ( ) ;
560
560
assert_eq ! ( rect. transform( ts) . unwrap( ) , bounding_rect) ;
561
561
562
- // Skew box along y-axis - horizonal lines at x=c go to x=c+2y
562
+ // Skew box along y-axis - horizontal lines at x=c go to x=c+2y
563
563
let ts = Transform :: from_skew ( 0.0 , 2.0 ) ;
564
564
let bounding_rect: Rect = Rect :: from_ltrb ( 1.0 , 4.0 , 3.0 , 10.0 ) . unwrap ( ) ;
565
565
assert_eq ! ( rect. transform( ts) . unwrap( ) , bounding_rect) ;
You can’t perform that action at this time.
0 commit comments