
-----------------------------------
aqazwsx1
Tue Oct 14, 2008 5:00 pm

Can anyone help me with grahpics on turing?
-----------------------------------
How do I draw a singapore flag with arcs, boxes and stars.  Here is the picture : http://en.wikipedia.org/wiki/Flag_of_Singapore 
thanks  :D

-----------------------------------
The_Bean
Tue Oct 14, 2008 5:10 pm

Re: Can anyone help me with grahpics on turing?
-----------------------------------
Try Using:

Draw.FillArc (x, y, xRadius, yRadius : int, initialAngle, finalAngle, Color : int) 
Draw.FillBox (x1, y1, x2, y2, Color : int)
Draw.FillStar (x1, y1, x2, y2, Color : int)
%copied strait out of the help menu -F10


-----------------------------------
aqazwsx1
Tue Oct 14, 2008 5:16 pm

Re: Can anyone help me with grahpics on turing?
-----------------------------------
but how do I get the arc to curve this way (  ? When I try it, I get it this way ) .

-----------------------------------
andrew.
Tue Oct 14, 2008 5:25 pm

RE:Can anyone help me with grahpics on turing?
-----------------------------------
Press F10 for help in Turing and search draw.arc. You will find out how to use it there. You can then fiddle with the numbers to make it look right.

-----------------------------------
Tony
Tue Oct 14, 2008 7:44 pm

RE:Can anyone help me with grahpics on turing?
-----------------------------------
It might help to think of it as drawing an oval, and then finding two points where cuts are made to leave an arc.
