// Create a SkBitmap with dimensions 100x100 SkBitmap myBitmap; myBitmap.allocN32Pixels(100, 100); // Get the bounds of the bitmap and store them in a SkRect object SkRect bitmapBounds = SkRect::Make(myBitmap.bounds()); // Print the bounds of the bitmap printf("Bitmap bounds: %f, %f, %f, %f\n", bitmapBounds.left(), bitmapBounds.top(), bitmapBounds.right(), bitmapBounds.bottom());In this example, we create a SkBitmap object of size 100x100 and allocate pixels for it. We then call the "bounds" function of the bitmap object which returns a SkIRect object representing the rectangular bounds of the bitmap. We then convert this SkIRect object to a SkRect object and print the bounds of the bitmap. Package Library: Skia Graphics Library (https://skia.org/)