home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.misc,comp.windows.ms.programmer
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!csus.edu!netcom.com!whedon
- From: whedon@netcom.com (Bill Whedon)
- Subject: Re: Drawing Text on its side in BC++?
- Message-ID: <1993Jan27.044824.14852@netcom.com>
- Organization: Laughing_Dragon
- References: <C17xG3.DMw@cs.uiuc.edu> <DAVE.93Jan26133650@wundt.harlqn.co.uk>
- Date: Wed, 27 Jan 1993 04:48:24 GMT
- Lines: 21
-
- In article <DAVE.93Jan26133650@wundt.harlqn.co.uk> dave@harlqn.co.uk (Dave Emmerson) writes:
- >Borland C++ 3.1 includes source for an example programme, truetype,
- >which demonstrates how to rotate text. As I recall, its C++. (But not
- >at all difficult to modify for ANSI, for anyone else who might be
- >interested.)
- > Dave.
- You really need look no further than the description of the LOGFONT struct
- to find out how to rotate text. You set the lfEscapement and lfOrientation
- elements (in tenths of a degree) to the appropriate angles, and create the
- font, then TextOut at your desired coordinates... voila! It's rotated!
- Try it and see. It's dead simple.
- Cheers,
- Bill Whedon whedon@netcom.com
-
-
- --
- C, ICON dBase Ada! Paradox? (B Jovial, Pascal!)
-
-
-
-
-