Function Summary | |
---|---|
CGPoint | CPPointCreateCopy(aPoint) Creates a copy of a specified point and returns the copy. |
CGPoint | CPPointMake(x, y) Makes a CGPoint object out of two numbers provided as arguments. |
CGPoint | CPStringFromPoint(aPoint) Returns a human readable string of the provided CGPoint . |
CGPoint | CPPointFromString(aString) Returns a CGPoint from a string with a comma separated pair of integers. |
CGPoint | CPPointFromEvent(anEvent) |
CGPoint | CPPointMakeZero() Returns a point located at (0, 0) . |
Function Detail |
---|
function CPPointCreateCopy(aPoint)
aPoint
function CPPointMake(x, y)
x
- the x-coordinate of the CGPointy
- the y-coordinate of the CGPointfunction CPStringFromPoint(aPoint)
CGPoint
.aPoint
- the point to representCGPoint
function CPPointFromString(aString)
CGPoint
from a string with a comma separated pair of integers.aString
- a string containing two comma separated integersfunction CPPointFromEvent(anEvent)
anEvent
- function CPPointMakeZero()
(0, 0)
.(0, 0)