home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / windows / ms / programm / 7275 < prev    next >
Encoding:
Internet Message Format  |  1992-07-21  |  1.1 KB

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