home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!van-bc!worg.questor.wimsey.bc.ca!david
- From: david@worg.questor.org (David Lau)
- Newsgroups: comp.sys.next.software
- Subject: Determining dimensions of text object
- Message-ID: <1992Nov16.080646.2606@worg.questor.wimsey.bc.ca>
- Date: Mon, 16 Nov 1992 08:06:46 GMT
- Sender: david@worg.questor.wimsey.bc.ca
- Reply-To: david@worg.questor.org
- Organization: Vancouver NeXT Users Society (VeNUS)
- Lines: 11
-
- Suppose I want to make a text object big enough to hold m-by-n characters from
- a fixed-width font, how do I go about determining its dimensions? I've looked
- at the NXFontMetrics structure but the widths stored there are not expressed in
- terms of pixel units.
-
-
- --
- David Lau (aka Sleepy Head)
- Independent Software Developer
- Phone: (604)276-9860 FAX: (604)276-8606
- Email: david@worg.questor.org, david@worg.questor.wimsey.bc.ca
-