|
-
May 3rd, 1999, 10:12 AM
#1
Vertical text
Hi,
How do I create a vertical text?
I have tried to create a font with CFont::CreateFont() and then draw the text with CDC: rawText(), but I don't think I got the parameters right.
If anybody has some help to offer, I would be grateful.
/Henrik Johansson
-
May 5th, 1999, 08:09 PM
#2
Re: Vertical text
When you create your font, you need to specify the angle of the text in the lfEscapement parameter. The lfOrientation _sounds_ like the thing to use, but it's not...
I've seen a few video drivers that had problems with an escapement of 90 degrees (900 in the parameter). I've found it safer to use 899 or 901, either of which is usually indistinguishable from 900 anyway.
The universe is a figment of its own imagination.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|