help with simple graphics 
Author Message
 help with simple graphics

Hello i am trying to create simple graphics with qbasic, but once i change
my color command or palette it messes everything up.
If anyone could help me, i need a big square about 300x180 shaded in green.
Then I try to make a square 80x80 outlined red.  Then i need a circle, in
the smaller square, colored blue.  This is what messed me up :( .  All this
should be centered in the larger square.
I am using SCREEN 1.
Any help on this or color and palette would really be appreciated. Email if



Fri, 26 May 2000 03:00:00 GMT  
 help with simple graphics


Quote:
>Hello i am trying to create simple graphics with qbasic, but once i change
>my color command or palette it messes everything up.
>If anyone could help me, i need a big square about 300x180 shaded in green.
>Then I try to make a square 80x80 outlined red.  Then i need a circle, in
>the smaller square, colored blue.  This is what messed me up :( .  All this
>should be centered in the larger square.
>I am using SCREEN 1.
>Any help on this or color and palette would really be appreciated. Email if


Hi Sean,

  When using the LINE, CIRCLE, and PAINT commands you do not have to change
the values in COLOR as each has its own color parameter.

Try this...

LINE (10,10) - (100,100), BF, 2
LINE (30,30) - ( 80, 80), B , 4

  ____    _    ____      ____  _____
 |  _ \  / \  / ___) __ | ___)(_   _)
 | |_)  / _ \ \____\/  \|  _)   | |
 |____//_/ \_\(____/\__/|_|     |_|

     www.basicguru.com/schullian



Sat, 27 May 2000 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Help - Simple Graphics problems

2. Small simple graphics problem - help appreciated!

3. Setting the normal coordinates system in graphics (Simple Line)

4. simple graphics question

5. simple graphic OCX needed

6. Simple graphics procedure

7. Simple graphics problem

8. Simple (??) Graphics API question

9. Simple (??) Graphics API question

10. Simple Graphics Question

11. How to: simple graphics (lines) on transparent usercontrol

12. Simple (??) Graphics API question

 

 
Powered by phpBB® Forum Software