IRect toIRect(Rect rect)
Converts a Rect to an IRect by truncating position and size components to integers.
Rect
IRect