Function

NSMakePoint

Creates a new NSPoint from the specified values.

Declaration

NSPoint NSMakePoint(CGFloat x, CGFloat y);

Return Value

An NSPoint having the coordinates x and y.

See Also

Managing Points

NSEqualPoints

Returns a Boolean value that indicates whether two points are equal.

NSPointFromString

Returns a point from a text-based representation.

NSStringFromPoint

Returns a string representation of a point.

NSPointFromCGPoint

Returns an NSPoint typecast from a CGPoint.

NSPointToCGPoint

Returns a CGPoint typecast from an NSPoint.