SkIRect rect1 = SkIRect::MakeXYWH(0, 0, 100, 100); SkIRect rect2 = SkIRect::MakeXYWH(50, 50, 100, 100); SkIRect intersectRect = rect1.intersect(rect2);In this example, we create two SkIRect objects, `rect1` and `rect2`, and use the `intersect` method to calculate the intersection between them. The resulting `intersectRect` will be a new SkIRect object representing the area where `rect1` and `rect2` overlap. Package/library: Skia Graphics Library.