Parameters
- rc
- Cell rectangle.
- img
- Image to be displayed on the cell.
- checkImage
- Checkbox image to be displayed on the cell.
Return Value
A rectangle that represents the image portion of a cell, discounting the area taken up by the cell borders and padding.