Re: View hierarchy, documentation, and origin location.
Re: View hierarchy, documentation, and origin location.
- Subject: Re: View hierarchy, documentation, and origin location.
- From: Dave <email@hidden>
- Date: Mon, 23 Sep 2013 20:04:02 +0100
On 23 Sep 2013, at 19:50, Gerd Knops <email@hidden> 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 (email@hidden)
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:
This email sent to email@hidden