Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Can anyone help me with grahpics on turing?
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
aqazwsx1




PostPosted: 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
Sponsor
Sponsor
Sponsor
sponsor
The_Bean




PostPosted: 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
aqazwsx1




PostPosted: 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 ) .
andrew.




PostPosted: 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.
Tony




PostPosted: 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.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 5 Posts ]
Jump to:   


Style:  
Search: