Article View: comp.os.ms-windows.programmer.misc
Article #2395Re: Drawing Text on its side in BC++?
From: Bill Whedon
Date: Wed, 27 Jan 1993 04:48
Date: Wed, 27 Jan 1993 04:48
17 lines
1222 bytes
1222 bytes
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!)
Technical Details
Message-ID:
<1993Jan27.044824.14852@netcom.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!csus.edu!netcom.com!whedonReferences:
<C17xG3.DMw@cs.uiuc.edu> <DAVE.93Jan26133650@wundt.harlqn.co.uk>Show Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.misc,comp.windows.ms.programmer Path: arc1-ca.pugleaf.net!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