Returns a rectangle with integer values for its origin and size.
Declaration Syntax
Parameters
- rect (CGRect)
- The source rectangle.
Return Value
The rectangle with smallest integer values for its origin and size that contains the source rectangle. That is, given a rectangle with fractional origin or size values, CGRectIntegral rounds the rectangle�s origin downward and its size upward to the nearest whole integers, such that the result contains the original rectangle.
Remarks
Original declaration is : CGRect CGRectIntegral ( CGRect rect );
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)