Draw command for angles - not documented?

New to FreeBASIC? Post your questions here.
Post Reply
tincrowdor
Posts: 9
Joined: Aug 07, 2008 6:26

Draw command for angles - not documented?

Post by tincrowdor »

Just a quick question, is there any documentation on using the draw command for drawing lines at angles? The basic drawing example/s only seem to show how to use the up, down, left and right options but mentions TAn for turning n degrees an An for turning n*90 degrees.
KristopherWindsor
Posts: 2428
Joined: Jul 19, 2006 19:17
Location: Sunnyvale, CA
Contact:

Post by KristopherWindsor »

It should work just like it did in QBasic, although I can't find a documentation page right now.
Anyone with QB could probably explain it and update the Wiki.
tincrowdor
Posts: 9
Joined: Aug 07, 2008 6:26

Post by tincrowdor »

I will try the code on this link

http://www.qbasicstation.com/index.php?c=t_adv&t=16

I am trying to do a simple camera shutter effect using draw. will check it and hopefully post the code
jofers
Posts: 1525
Joined: May 27, 2005 17:18

Post by jofers »

Here's the QB behavior:
http://www.qbasicnews.com/qboho/qckadvr@l80ad.shtml

No FB here though so I can't check.
tincrowdor
Posts: 9
Joined: Aug 07, 2008 6:26

Post by tincrowdor »

Thanks for the link and the example appears to show how to manipulate data within the string command. Nice. I will check it out later.
Post Reply