Posted: 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
Tony
Posted: 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?
try Draw.Box(x1,y1,x2,y2:int)
Cervantes
Posted: 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.