🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #2239

Re: Drawing Text on its side in BC++?

#2239
From: John Grant
Date: Thu, 21 Jan 1993 20:18
14 lines
1139 bytes
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
Technical Details
Message-ID: <1993Jan21.201826.7655@emr1.emr.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!torn!nott!emr1!jagrant
References: <C17xG3.DMw@cs.uiuc.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.misc,comp.windows.ms.programmer
Path: arc1-ca.pugleaf.net!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