On 23 Sep 2013, at 19:50, Gerd Knops <gerti-cocoa...@bitart.com> wrote:

> Probably more to do with the NeXTSTEP/OPENSTEP ancestry. Those used Display 
> Postscript with the origin being the bottom left.
> 
> Gerd

Yes, you're right it was because of PostScript, although you'd chose to an 
upside down screen coordinate system (as compared to the rest of the world) is 
beyond me! Surely it would have been better to translate the PostScript 
coordinate into top left origin? Oh well, such is lifeā€¦..

Still isFlipped thing makes it much easier to handle, I wish I'd know about it 
before!

The problem I had at the time if my memory serves me correctly was that I 
wanted to render Core Text into UIViews and (again AFAIR), Core Text expects 
Bottom Left Origin. This was under iOS 4, not sure how it would work under 6+. 

Question, is it possible to "flip" the CF coordinate system under iOS, so that 
both (UIView etc. and CF) operate with a Top Left Origin?

Cheers
Dave


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to