The DRAW statement in QB and in FB - Printable Version +- Qbasicnews.com (http://qbasicnews.com/newforum) +-- Forum: General (http://qbasicnews.com/newforum/forum-6.html) +--- Forum: General/Misc (http://qbasicnews.com/newforum/forum-18.html) +--- Thread: The DRAW statement in QB and in FB (/thread-9331.html) |
The DRAW statement in QB and in FB - Ralph - 05-28-2006 I wondered how the graphics statements behaved in QB vs. FB. I chose SCREEN 12 for this little experiment. The CIRCLE statement seems to work identically in QB and FB. For the DRAW statement, I ran this program in QB first: Code: SCREEN 12 The same program, run in FB, draws the triangle about four times as large, and at the top and left. I got the QB program to match the FB results by using a scale factor of 15 in QB (the default in QB is 4), by changing the DRAS statement to: [code]DRAW "S15 B H50 R10U10G10" Curiously, using this new line in FB gives the identical result as not entereing the S15! Could it be that FB uses a default of S15, while QB's is S4? The DRAW statement in QB and in FB - RyanKelly - 05-28-2006 You might want to post this over on the freebasic.net forum. V1ctor will be ables to answer you. The DRAW statement in QB and in FB - Ralph - 05-28-2006 Hi, RyanKelly, how's Germantown, Gaithersville and Rocklville? Thanks for the freeBasic tip, I will proceed to do so. Ralph The DRAW statement in QB and in FB - na_th_an - 05-29-2006 When Antoni sees this posts, I'm sure he'll provide good info. AFAIK there was a long discussion about DRAW - I think to remember that the scales were different, or something like that. Antoni? The DRAW statement in QB and in FB - Antoni Gual - 05-30-2006 It's solved in v 0.16, thanks to George C. Scott and lillo. If you don't want to update yet, just add a DRAW "S4" before any other DRAW line. It will solve the problem in FB and won't harm in QB. The DRAW statement in QB and in FB - RyanKelly - 05-30-2006 Quote:Hi, RyanKelly, how's Germantown, Gaithersville and Rocklville? Different everyday. Even the roads move. |