What is the unit of NSPoint, CGPoint, NSSize, CGSize and NSRect, CGRect?

1.5k views Asked by At

What is the unit of CGPoint, CGSize and CGRect ; NSSize, NSPoint and NSRect?

1

There are 1 answers

0
Colas On BEST ANSWER

The unit of CGPoint, etc. is point. A point represents a pixel on non-retina screens and two pixels on retina screens.