• 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
calculating line heights in a NSTextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

calculating line heights in a NSTextView


  • Subject: calculating line heights in a NSTextView
  • From: Scott Royston <email@hidden>
  • Date: Tue, 21 May 2002 15:59:33 -0500

Anyone have any pointers on how to calculate each line's height in a NSTextView?
Looking through the documentation, the only things that look promising are the LayoutManager's lineFragmentUsedRectForGlyphAtIndex functions, or maybe the paragraph attributes in the TextStorage...

thanks
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: calculating line heights in a NSTextView
      • From: Douglas Davidson <email@hidden>
  • Prev by Date: Re: Newbie question: setting a NSNumber
  • Next by Date: Re: Newbie question: setting a NSNumber
  • Previous by thread: Re: ! HELP ME!!! I DON'T WANT TO LEARN CARBON!!!
  • Next by thread: Re: calculating line heights in a NSTextView
  • Index(es):
    • Date
    • Thread