home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.misc,comp.windows.ms.programmer
- Path: sparky!uunet!cs.utexas.edu!torn!nott!emr1!jagrant
- From: jagrant@emr1.emr.ca (John Grant)
- Subject: Re: Drawing Text on its side in BC++?
- Message-ID: <1993Jan21.201826.7655@emr1.emr.ca>
- Organization: Energy, Mines, and Resources, Ottawa
- References: <C17xG3.DMw@cs.uiuc.edu>
- Date: Thu, 21 Jan 1993 20:18:26 GMT
- Lines: 14
-
- In article <C17xG3.DMw@cs.uiuc.edu> greco@cs.uiuc.edu (Steven Greco) writes:
- >I need to draw text on its side and was wondering if it is possible to
- >do this with Borland C++ and owl. Right now I am using DrawText to draw
- >my text, but it just produces normal text, not text on its side. Is this
- >possible? Is there any way to rotate a bitmap possibly?
- You must create a new HFONT with the required angle. The
- angle is the .lfEscapment member of a LOGFONT.
- Not all fonts can be rotated (i.e. bitmapped fonts). However,
- all TrueType fonts can be rotated. I just use "Arial" as
- my default font for graphics.
- --
- John A. Grant jagrant@emr1.emr.ca
- Airborne Geophysics
- Geological Survey of Canada, Ottawa
-