Article View: comp.os.msdos.programmer
Article #6743How do I determine the size of a text string
From: Barry Lay
Date: Wed, 22 May 1991 18:34
Date: Wed, 22 May 1991 18:34
6 lines
599 bytes
599 bytes
I am using MSC 6.0a to do some graphics programming. I would like to be able to produce strings of text that are centred, right-justified, etc. If the font is proportional, how do I determine the actual length of the text so that I know where to put the beginning? Barry
Technical Details
Message-ID:
<1991May22.183420.18290@gpu.utcs.utoronto.ca>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!barryShow Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer Path: arc1-ca.pugleaf.net!utzoo!utgpu!barry From: barry@gpu.utcs.utoronto.ca (Barry Lay) Subject: How do I determine the size of a text string Message-ID: <1991May22.183420.18290@gpu.utcs.utoronto.ca> Organization: University of Toronto Computing Services Date: Wed, 22 May 1991 18:34:20 GMT