Rotate Text on Screen

Rotate Text on Screen

Postby Jeff Barnes » Thu May 21, 2009 12:19 am

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
Jeff Barnes
 
Posts: 929
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada

Re: Rotate Text on Screen

Postby anserkk » Thu May 21, 2009 5:36 am

Dear Mr.Jeff,

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

Regards

Anser
User avatar
anserkk
 
Posts: 1332
Joined: Fri Jun 13, 2008 11:04 am
Location: Kochi, India

Re: Rotate Text on Screen

Postby Antonio Linares » Thu May 21, 2009 6:06 am

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
Antonio Linares
Site Admin
 
Posts: 42081
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Rotate Text on Screen

Postby nageswaragunupudi » Thu May 21, 2009 11:45 am

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
nageswaragunupudi
 
Posts: 10624
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Rotate Text on Screen

Postby Otto » Thu May 21, 2009 11:52 am

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
Otto
 
Posts: 6328
Joined: Fri Oct 07, 2005 7:07 pm

Re: Rotate Text on Screen

Postby Jeff Barnes » Fri May 22, 2009 11:08 pm

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
Jeff Barnes
 
Posts: 929
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada

Re: Rotate Text on Screen

Postby ukoenig » Sat May 23, 2009 10:18 am

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.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 92 guests