Author Topic: DRAW command - scale parameter  (Read 130 times)

chrisws

  • Moderator
  • Newcomer
  • *****
  • Posts: 32
    • View Profile
DRAW command - scale parameter
« on: 12. February 2019, 10:55:57 »
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 !

B+

  • Hero Member
  • *****
  • Posts: 802
    • View Profile
Re: DRAW command - scale parameter
« Reply #1 on: 17. February 2019, 17:27:44 »
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
« Last Edit: 17. February 2019, 17:33:07 by B+ »