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

Username:   Password: 
 RegisterRegister   
 help with function
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
JonnyBigBoi




PostPosted: Tue Jan 04, 2005 12:07 pm   Post subject: help with function

i need to make a grid using a function called square i dont kno how to make the function with the exact pixels on the screen
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Tue Jan 04, 2005 12:17 pm   Post subject: Re: help with function

JonnyBigBoi wrote:
i dont kno how to make the function with the exact pixels on the screen

do you know how to make a fuction with approximate pixels on the screen? Thinking
try Draw.Box(x1,y1,x2,y2:int)
Cervantes




PostPosted: Tue Jan 04, 2005 7:21 pm   Post subject: (No subject)

If you're making a grid, it'd probably make more sense to do a bunch of Draw.Lines.
Note that the distance between the lines = the size (width or height, whichever one you're drawing at the moment [you'll probably draw a bunch of horizontal lines and then a bunch of vertical lines, or the other way around, it doesn't matter]) divided by the number of lines you want to have in your grid.
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  [ 3 Posts ]
Jump to:   


Style:  
Search: