🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #8828

Re: Vertical Text

#8828
From: Eelke
Date: Tue, 21 Sep 2004 14:13
22 lines
1373 bytes
PaoloItaly wrote:
> How to draw a string vertically ?
> Ex:
> T
> H
> E
> 
> S
> T
> R
> I
> N
> G
> 
The obvious way is to manually print each character.

On windows NT/2000/XP you can also use CreateFont.
nEscapement specifies the direction in which the font is printed
nOrientation specifies the rotation of each individual character
Look in the MSDN for details. Notice you will have to use GM_ADVANCED mode.

Eelke
Technical Details
Message-ID: <415036f5$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <41502ded$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,3dfd67295aae8ebb
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Tue, 21 Sep 2004 16:13:18 +0200
From: Eelke <e.klein@mplussoftware.nl>
User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Vertical Text
References: <41502ded$1@newsgroups.borland.com>
In-Reply-To: <41502ded$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 81.58.1.162
Message-ID: <415036f5$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1095775989 81.58.1.162 (21 Sep 2004 07:13:09 -0700)
Lines: 22
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail