Function

CGPointMake

Returns a point with the specified coordinates.

Declaration

CGPoint CGPointMake(CGFloat x, CGFloat y);

Parameters

x

The x-coordinate of the point to construct.

y

The y-coordinate of the point to construct.

Return Value

A point.

See Also

Creating a Geometric Primitive from Values

CGRectMake

Returns a rectangle with the specified coordinate and size values.

CGSizeMake

Returns a size with the specified dimension values.

CGVectorMake

Returns a vector with the specified dimension values.