I believe there is an assumption you can make about Core Graphics.
Core Graphics uses a unit called a point and one point is defined as 1/72 th of an inch. So drawing something at a length of 72 points should yield roughly a 1 inch stretch on screen, no matter what resolution your screen is at.
Do note I haven't tested this yet. But several sources seem to support this claim. Also an excellent read on Quartz 3D/Core Graphics: ISBN 0-321-33663-1 It's Quarzt 2D Graphics for Mac OS X Developers by R.S. Thompson.
by Jeroen Leenarts — Sep 22
Core Graphics uses a unit called a point and one point is defined as 1/72 th of an inch. So drawing something at a length of 72 points should yield roughly a 1 inch stretch on screen, no matter what resolution your screen is at.
Do note I haven't tested this yet. But several sources seem to support this claim. Also an excellent read on Quartz 3D/Core Graphics: ISBN 0-321-33663-1 It's Quarzt 2D Graphics for Mac OS X Developers by R.S. Thompson.