• 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: How to measure the width of text?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to measure the width of text?


  • Subject: Re: How to measure the width of text?
  • From: mmalcolm crawford <email@hidden>
  • Date: Mon, 8 Dec 2003 20:00:49 -0800

On Dec 8, 2003, at 7:05 PM, Michael Bonnice wrote:

How can I measure the width of a text string when drawn, or
(alternately) know what is the x coordinate just to the right of the
right-most pixel in a string?

Searching <http://cocoa.mamasam.com/> with "string text width" gave these on the first page:

<http://cocoa.mamasam.com/COCOADEV/2002/02/2/25805.php>
<http://cocoa.mamasam.com/COCOADEV/2003/02/1/56789.php>

mmalc
_______________________________________________
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.

References: 
 >How to measure the width of text? (From: Michael Bonnice <email@hidden>)

  • Prev by Date: Re: tiff from NSImage, at 300 dpi
  • Next by Date: paragraph style question
  • Previous by thread: How to measure the width of text?
  • Next by thread: RE: How to measure the width of text?
  • Index(es):
    • Date
    • Thread