home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / mswindo / programm / misc / 5241 < prev    next >
Encoding:
Text File  |  1993-01-21  |  1.1 KB  |  25 lines

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