// Creating a SkIRect object using its constructor SkIRect rect(0, 0, 100, 50); // Creating a SkIRect object from an SkRect object using the round() method SkRect decimalRect = SkRect::MakeXYWH(0.0f, 0.0f, 100.6f, 50.8f); SkIRect roundedRect = decimalRect.round(); // Modifying an SkIRect object SkIRect rect1(0, 0, 100, 50); rect1.inset(10, 5); // Checking if two SkIRect objects intersect SkIRect rect2(70, 20, 120, 70); bool intersects = rect1.intersects(rect2);In the first example, we create an SkIRect object with the coordinates (0, 0) as the top-left corner and (100, 50) as the bottom-right corner. In the second example, we create an SkIRect object by rounding an SkRect object to the nearest integer values. In the third example, we modify an SkIRect object by reducing its width and height by 10 and 5 pixels, respectively. In the fourth example, we check if two SkIRect objects intersect. SkIRect is part of the Skia library, which is developed and maintained by Google.