@@ -2407,9 +2407,9 @@ TEST_P(AiksTest, DrawRectAbsorbsClears) {
24072407
24082408TEST_P (AiksTest, DrawRectAbsorbsClearsNegativeRRect) {
24092409 Canvas canvas;
2410- canvas.DrawRRect (Rect::MakeXYWH (0 , 0 , 300 , 300 ), 5.0 ,
2410+ canvas.DrawRRect (Rect::MakeXYWH (0 , 0 , 300 , 300 ), { 5.0 , 5.0 } ,
24112411 {.color = Color::Red (), .blend_mode = BlendMode::kSource });
2412- canvas.DrawRRect (Rect::MakeXYWH (0 , 0 , 300 , 300 ), 5.0 ,
2412+ canvas.DrawRRect (Rect::MakeXYWH (0 , 0 , 300 , 300 ), { 5.0 , 5.0 } ,
24132413 {.color = Color::CornflowerBlue ().WithAlpha (0.75 ),
24142414 .blend_mode = BlendMode::kSourceOver });
24152415
@@ -3077,7 +3077,7 @@ TEST_P(AiksTest, CanRenderBackdropBlurInteractive) {
30773077 canvas.DrawCircle ({300 , 200 }, 100 , {.color = Color::GreenYellow ()});
30783078 canvas.DrawCircle ({140 , 170 }, 75 , {.color = Color::DarkMagenta ()});
30793079 canvas.DrawCircle ({180 , 120 }, 100 , {.color = Color::OrangeRed ()});
3080- canvas.ClipRRect (Rect::MakeLTRB (a.x , a.y , b.x , b.y ), 20 );
3080+ canvas.ClipRRect (Rect::MakeLTRB (a.x , a.y , b.x , b.y ), { 20 , 20 } );
30813081 canvas.SaveLayer ({.blend_mode = BlendMode::kSource }, std::nullopt ,
30823082 ImageFilter::MakeBlur (Sigma (20.0 ), Sigma (20.0 ),
30833083 FilterContents::BlurStyle::kNormal ,
@@ -3096,7 +3096,7 @@ TEST_P(AiksTest, CanRenderBackdropBlur) {
30963096 canvas.DrawCircle ({300 , 200 }, 100 , {.color = Color::GreenYellow ()});
30973097 canvas.DrawCircle ({140 , 170 }, 75 , {.color = Color::DarkMagenta ()});
30983098 canvas.DrawCircle ({180 , 120 }, 100 , {.color = Color::OrangeRed ()});
3099- canvas.ClipRRect (Rect::MakeLTRB (75 , 50 , 375 , 275 ), 20 );
3099+ canvas.ClipRRect (Rect::MakeLTRB (75 , 50 , 375 , 275 ), { 20 , 20 } );
31003100 canvas.SaveLayer ({.blend_mode = BlendMode::kSource }, std::nullopt ,
31013101 ImageFilter::MakeBlur (Sigma (30.0 ), Sigma (30.0 ),
31023102 FilterContents::BlurStyle::kNormal ,
@@ -3202,7 +3202,7 @@ TEST_P(AiksTest, CanRenderClippedRuntimeEffects) {
32023202
32033203 Canvas canvas;
32043204 canvas.Save ();
3205- canvas.ClipRRect (Rect::MakeXYWH (0 , 0 , 400 , 400 ), 10.0 ,
3205+ canvas.ClipRRect (Rect::MakeXYWH (0 , 0 , 400 , 400 ), { 10.0 , 10.0 } ,
32063206 Entity::ClipOperation::kIntersect );
32073207 canvas.DrawRect (Rect::MakeXYWH (0 , 0 , 400 , 400 ), paint);
32083208 canvas.Restore ();
@@ -3480,7 +3480,7 @@ TEST_P(AiksTest, DrawPictureWithText) {
34803480
34813481TEST_P (AiksTest, DrawPictureClipped) {
34823482 Canvas subcanvas;
3483- subcanvas.ClipRRect (Rect::MakeLTRB (100 , 100 , 400 , 400 ), 15 );
3483+ subcanvas.ClipRRect (Rect::MakeLTRB (100 , 100 , 400 , 400 ), { 15 , 15 } );
34843484 subcanvas.DrawPaint ({.color = Color::Red ()});
34853485 auto picture = subcanvas.EndRecordingAsPicture ();
34863486
@@ -3492,7 +3492,7 @@ TEST_P(AiksTest, DrawPictureClipped) {
34923492
34933493 // Draw over the picture with a larger green rectangle, completely covering it
34943494 // up.
3495- canvas.ClipRRect (Rect::MakeLTRB (100 , 100 , 400 , 400 ).Expand (20 ), 15 );
3495+ canvas.ClipRRect (Rect::MakeLTRB (100 , 100 , 400 , 400 ).Expand (20 ), { 15 , 15 } );
34963496 canvas.DrawPaint ({.color = Color::Green ()});
34973497
34983498 ASSERT_TRUE (OpenPlaygroundHere (canvas.EndRecordingAsPicture ()));
0 commit comments