• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: View hierarchy, documentation, and origin location.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >View hierarchy, documentation, and origin location. (From: Peter Teeson <email@hidden>)
 >Re: View hierarchy, documentation, and origin location. (From: Dave <email@hidden>)
 >Re: View hierarchy, documentation, and origin location. (From: Gerd Knops <email@hidden>)

  • Prev by Date: Re: View hierarchy, documentation, and origin location.
  • Next by Date: iOS 7 Extend Edges View Controller Property
  • Previous by thread: Re: View hierarchy, documentation, and origin location.
  • Next by thread: Re: View hierarchy, documentation, and origin location.
  • Index(es):
    • Date
    • Thread