This will sound extremely silly and stupid, but I have touched a couple languages and they kind of messed up my sense of…. orientation or something:
In Objective-C, you can use CGRectMake(x,y,w,h) to make a rect. Cool.
So x,y set the… top left corner of the rect, or…. the center of the rect?
Cocoa uses the Cartesian coordinate plane as its coordinate system (so (x, y) is set to the bottom-left corner). You can read more about the coordinate system in the Cocoa Drawing Guide.