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

Username:   Password: 
 RegisterRegister   
 Dashed Line without using Draw.DashedLine
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
brownwall




PostPosted: Thu Nov 06, 2008 10:32 pm   Post subject: Dashed Line without using Draw.DashedLine

I was wondering how one could create a procedure similar to Draw.Line that creates a dashed line? However, without using Draw.DashedLine. How would one go about this?
Sponsor
Sponsor
Sponsor
sponsor
[Gandalf]




PostPosted: Thu Nov 06, 2008 10:42 pm   Post subject: RE:Dashed Line without using Draw.DashedLine

Using a loop and Draw.Line(). Take a look at this and try to expand it:
code:
Draw.Line(10, 10, 20, 20, black)
Draw.Line(30, 30, 40, 40, black)
Draw.Line(50, 50, 60, 60, black)

You will need to use some math to figure out the interval between each line and such. If you have a more specific problem, post it at that time. Smile
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  [ 2 Posts ]
Jump to:   


Style:  
Search: