Computer Science Canada

sry tony --- can u tell me how to draw

Author:  yoyo [ Tue Sep 16, 2003 7:04 pm ]
Post subject:  sry tony --- can u tell me how to draw

draw.oval doesnt seem to work

Author:  Dan [ Tue Sep 16, 2003 7:06 pm ]
Post subject: 

sigh, dose this look like turing help?

Moved to turing help

Author:  Dan [ Tue Sep 16, 2003 7:09 pm ]
Post subject: 

Draw.Oval (x, y, xRadius, yRadius, Color : int)

make shure to use caps on Draw and Oval

Author:  yoyo [ Tue Sep 16, 2003 7:26 pm ]
Post subject:  ..

yo i drew it, now how do i move it around, sry im a total idiot at these things

Author:  Tony [ Tue Sep 16, 2003 8:45 pm ]
Post subject: 

yeah, but this way you atleast ask proper questions with exactly what you dont understand.

To move it you have to alter X and Y values you use to draw oval.

for example:


var x,y:int
%draw first oval
Draw.Oval (x,y,5,5,red)

%change values of x and y

%draw oval at new location

Blue oval still uses same X and Y variables, but since they now have a new value, its in a new place (10 to the right, 5 up)

Author:  Blade [ Thu Sep 18, 2003 3:13 pm ]
Post subject: 

if you want to use lowercase... you dont use the "."

Author:  Andy [ Sat Sep 20, 2003 10:17 pm ]
Post subject: 

wow, everybody is a mod these days...
yoyo, why are u using Draw.Oval? just use drawoval and u can press F10 to call up on the turing help.

Author:  krishon [ Mon Sep 22, 2003 7:41 am ]
Post subject: 

maybe he wants to Shocked