home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / next / software / 2670 < prev    next >
Encoding:
Internet Message Format  |  1992-11-15  |  848 b 

  1. Path: sparky!uunet!van-bc!worg.questor.wimsey.bc.ca!david
  2. From: david@worg.questor.org (David Lau)
  3. Newsgroups: comp.sys.next.software
  4. Subject: Determining dimensions of text object
  5. Message-ID: <1992Nov16.080646.2606@worg.questor.wimsey.bc.ca>
  6. Date: Mon, 16 Nov 1992 08:06:46 GMT
  7. Sender: david@worg.questor.wimsey.bc.ca
  8. Reply-To: david@worg.questor.org
  9. Organization: Vancouver NeXT Users Society (VeNUS)
  10. Lines: 11
  11.  
  12. Suppose I want to make a text object big enough to hold m-by-n characters from  
  13. a fixed-width font, how do I go about determining its dimensions? I've looked  
  14. at the NXFontMetrics structure but the widths stored there are not expressed in  
  15. terms of pixel units.
  16.  
  17.  
  18. -- 
  19. David Lau (aka Sleepy Head)
  20. Independent Software Developer
  21. Phone: (604)276-9860  FAX: (604)276-8606
  22. Email: david@worg.questor.org, david@worg.questor.wimsey.bc.ca
  23.