CGPoint


Function Summary
CGPointCPPointCreateCopy(aPoint)
          Creates a copy of a specified point and returns the copy.
CGPointCPPointMake(x, y)
          Makes a CGPoint object out of two numbers provided as arguments.
CGPointCPStringFromPoint(aPoint)
          Returns a human readable string of the provided CGPoint.
CGPointCPPointFromString(aString)
          Returns a CGPoint from a string with a comma separated pair of integers.
CGPointCPPointFromEvent(anEvent)
CGPointCPPointMakeZero()
          Returns a point located at (0, 0).

Function Detail

CPPointCreateCopy

function CPPointCreateCopy(aPoint)
Creates a copy of a specified point and returns the copy
Arguments
aPoint
Returns:
the copy of the provided CGPoint

CPPointMake

function CPPointMake(x, y)
Makes a CGPoint object out of two numbers provided as arguments
Arguments
x - the x-coordinate of the CGPoint
y - the y-coordinate of the CGPoint
Returns:
a CGPoint with an X and Y coordinate equal to the function arguments

CPStringFromPoint

function CPStringFromPoint(aPoint)
Returns a human readable string of the provided CGPoint.
Arguments
aPoint - the point to represent
Returns:
a string representation of the CGPoint

CPPointFromString

function CPPointFromString(aString)
Returns a CGPoint from a string with a comma separated pair of integers.
Arguments
aString - a string containing two comma separated integers
Returns:
the point object created from the string

CPPointFromEvent

function CPPointFromEvent(anEvent)
Arguments
anEvent -

CPPointMakeZero

function CPPointMakeZero()
Returns a point located at (0, 0).
Returns:
a point located at (0, 0)