Returns a rectangle that is smaller or larger than the source rectangle, with the same center point. CGRect CGRectInset ( CGRect rect, CGFloat dx, CGFloat dy ); Parameters rect The source CGRect structure. dx The x-coordinate value to use for adjusting the source rectangle. To create an inset rectangle, specify a positive value. To create a larger, encompassing rectangle, specify a negative value. dy The y-coordinate value to use for adjusting the source rectangle. To create an inset rectangle, specify a positive value. To create a larger, encompassing rectangle, specify a negative value. Return Value A rectangle. The origin value is offset in the x-axis by the distance specified by the dx parameter and in the y-axis by the distance specified by the dy parameter, and its size adjusted by (2*dx,2*dy) , relative to the source rectangle. If dx and dy are positive values, then the rectangle’s size ...