• 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: text orientation/positioning with layout manager
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: text orientation/positioning with layout manager


  • Subject: Re: text orientation/positioning with layout manager
  • From: Ross Carter <email@hidden>
  • Date: Tue, 01 Feb 2011 00:19:42 -0500

On Jan 31, 2011, at 9:04 PM, Todd Heberlein wrote:

> For now, if I want my string drawn on a base line beginning at the point basePoint, I currently define a glyphPoint which subtracts the font's pointSize from the basePoint's Y value. So far it seems to work on a variety of font sizes. Are there any obvious "gotchas" that I am missing with this approach?

The first gotcha that comes to mind is an NSTextAttachment.
_______________________________________________

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: 
 >text orientation/positioning with layout manager (From: Todd Heberlein <email@hidden>)
 >Re: text orientation/positioning with layout manager (From: Graham Cox <email@hidden>)
 >Re: text orientation/positioning with layout manager (From: Aki Inoue <email@hidden>)
 >Re: text orientation/positioning with layout manager (From: Todd Heberlein <email@hidden>)

  • Prev by Date: Re: text orientation/positioning with layout manager
  • Next by Date: Re: NSTableView selecting text within a cell [SOLUTION]
  • Previous by thread: Re: text orientation/positioning with layout manager
  • Next by thread: Main menu in NSDocument based application
  • Index(es):
    • Date
    • Thread