Computer Science Canada

Can anyone help me with grahpics on turing?

Author:  aqazwsx1 [ Tue Oct 14, 2008 5:00 pm ]
Post subject:  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 Very Happy

Author:  The_Bean [ Tue Oct 14, 2008 5:10 pm ]
Post subject:  Re: Can anyone help me with grahpics on turing?

Try Using:
Turing:

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

Author:  aqazwsx1 [ Tue Oct 14, 2008 5:16 pm ]
Post subject:  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 ) .

Author:  andrew. [ Tue Oct 14, 2008 5:25 pm ]
Post subject:  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.

Author:  Tony [ Tue Oct 14, 2008 7:44 pm ]
Post subject:  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.


: