| View previous topic :: View next topic |
| Author |
Message |
mauro russo Guest
|
Posted: Wed May 17, 2006 3:14 pm Post subject: writing in vertical on a TCanvas |
|
|
I'm sorry.
I asked the same one ywar ago, but i lost the code.
How to writ ein vertical on a TCanvas?
Best Regards,
Mauro Russo. |
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Wed May 17, 2006 5:14 pm Post subject: Re: writing in vertical on a TCanvas |
|
|
"mauro russo" <m.russo (AT) uniplan (DOT) it> wrote in message
news:446b3b3b (AT) newsgroups (DOT) borland.com...
| Quote: | How to writ ein vertical on a TCanvas?
|
Use the CreateFontIndirect() function to create an instance of a rotated
font, where the lfOrientation member of the LOGFONT structure is set to the
desired angle of rotation. You can then assign the font handle to the
canvas before writing your text to it.
Gambit |
|
| Back to top |
|
 |
Michel Leunen Guest
|
Posted: Wed May 17, 2006 7:14 pm Post subject: Re: writing in vertical on a TCanvas |
|
|
mauro russo wrote:
| Quote: | How to writ ein vertical on a TCanvas?
|
Here is a sample to illustrate what Remy told you and if you need it of
course.
http://www.leunen.com/cbuilder/angletxt.html
Michel
--
----------------------------------------
Michel Leunen
mailto: see my homepage.
C++Builder, BCC5.5.1 Web site:
http://www.leunen.com/
---------------------------------------- |
|
| Back to top |
|
 |
|