RetroBASIC

Basicprogramming(.org) => SmallBASIC => Topic started by: chrisws on February 12, 2019, 09:55:57 AM

Title: DRAW command - scale parameter
Post by: chrisws on February 12, 2019, 09:55:57 AM
Has anyone used the DRAW command along with the SCALE parameter in another BASIC?

If you have could you please share some code and screenshots showing this in action?

Thanks !
Title: Re: DRAW command - scale parameter
Post by: B+ on February 17, 2019, 04:27:44 PM
Hi Chris,

I don't use DRAW command in QB64 much but here is a complete description of it for QB64:
http://qb64.org/wiki/DRAW

The Sn command is not really Scale but Size, ie setting how many pixels for 1 unit of n, the default is 4 but changed with Sn command.

Here is a Draw Demo of Octagons and then a mod using S20 to draw string