Rotate Text on Screen

Post Reply
User avatar
Jeff Barnes
Posts: 933
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada
Contact:

Rotate Text on Screen

Post by Jeff Barnes »

Hi,

Is there anyway to rotate standard text (Say) on the screen?
Thanks,
Jeff Barnes

(FWH 16.11, xHarbour 1.2.3, Bcc730)
User avatar
anserkk
Posts: 1333
Joined: Fri Jun 13, 2008 11:04 am
Location: Kochi, India
Has thanked: 2 times

Re: Rotate Text on Screen

Post by anserkk »

Dear Mr.Jeff,

You may have to use an Animated GIF file like the one given below
Image

Regards

Anser
User avatar
Antonio Linares
Site Admin
Posts: 42529
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 77 times
Contact:

Re: Rotate Text on Screen

Post by Antonio Linares »

Jeff,

In case that you meant to rotate a font, please review function FontRotate() and use in FWH\source\classes\tabs.prg
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
nageswaragunupudi
Posts: 10721
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Been thanked: 8 times
Contact:

Re: Rotate Text on Screen

Post by nageswaragunupudi »

Another way
Define oFont the normal way
From that font you can derive rotated fonts :
oFont90 := oFont:Rotate( 900 )
Regards

G. N. Rao.
Hyderabad, India
User avatar
Otto
Posts: 6404
Joined: Fri Oct 07, 2005 7:07 pm
Has thanked: 24 times
Been thanked: 2 times
Contact:

Re: Rotate Text on Screen

Post by Otto »

Jeff, there is an example on:

http://www.fwcodesnips.com/

45 grados on dialog

Regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Jeff Barnes
Posts: 933
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada
Contact:

Re: Rotate Text on Screen

Post by Jeff Barnes »

Thanks Everyone.

I have that part working now. I ended up using the info from Otto's site.
Thanks,
Jeff Barnes

(FWH 16.11, xHarbour 1.2.3, Bcc730)
User avatar
ukoenig
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

Re: Rotate Text on Screen

Post by ukoenig »

Hello Jeff,

I don't know, if You need maybe painting vertical text.
It is not possible with the normal < rotate >
The position of the Char's must be calculated.

Image

Regards
Uwe :lol:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
Post Reply