home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.windows.ms.programmer:7275 comp.os.ms-windows.programmer.misc:939
- Newsgroups: comp.windows.ms.programmer,comp.os.ms-windows.programmer.misc
- Path: sparky!uunet!news.univie.ac.at!hp4at!cophos!tom
- From: tom@cophos.co.at (Tom Duenser)
- Subject: Re: How do I draw text vertically?
- Message-ID: <1992Jul21.080824.12240@cophos.co.at>
- Organization: COPHOS Development Team, ZUMtOBEL Licht GmbH, Dornbirn, AUSTRIA
- References: <20sis-c@massey.ac.nz>
- Date: Tue, 21 Jul 1992 08:08:24 GMT
- Lines: 20
-
- In article <20sis-c@massey.ac.nz> B.R.Foster@massey.ac.nz writes:
- >I want to draw text vertically (rotated 90 degrees) for the y-axis of a graph.
- >Is there an easy way to do it, other than putting it into a bitmap and
- >rotating it, which won't print the font properly on a postscript printer?
- >
- >Thanks,
- > Brent
- >
- >B.R.Foster@massey.ac.nz
-
- Create a font with lfEscapement = 900.
- This *ONLY* works if GetDeviceCaps(hDC,TEXTCAPS) has the
- TC_CR_90 or TC_CR_ANY bits set.
-
- Let me know if you find another way.
-
- Tom
- --
- Tom Duenser tom@cophos.co.at
- COPHOS Development Team #include <std/disclaim.h>
-