[futurebasic] Re: [FB] Rotated Text

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : October 1999 : Group Archive : Group : All Groups

From: tedd <tedd@...>
Date: Wed, 6 Oct 1999 11:19:35 -0400
>Hi,
>
>I've read about rotated text in this forum in the past (quite some time ago
>I think) but I've never had to use this capability until now.  Can someone
>please direct me to an explanation or an example of FB code which
>accomplishes this.
>
>Thanks in advance and kindest regards,
>
>Dale Blackwell
>12621 Neon Way
>Granada Hills, California 91344
>dblackwell@...


Dale:

Just go to my web site (below noted)and download "tedd's Text Rotate Demo"

The following was taken from my site:

This file is actually two programs that demonstrate text rotation: 1) TEXT
Rotation to the Screen -- which is done by drawing the string to GWorlds;
creating a rectangle around the text; moving each pixel within the
rectangle to a new position (i.e., angle); and then bitcopy the result back
to the viewing window. (The routine is pretty quick thanks to Ross's FNJN
II integer trig functions); 2) TEXT Rotation to the Printer -- which uses
PICCOMENTS to place
text at any position and angle on the printed page.

tedd

___________________________________________________________________
<mailto:tedd@...>	               http://sperling.com/