search for: widthmax

Displaying 1 result from an estimated 1 matches for "widthmax".

Did you mean: width_max
2007 Jun 10
1
variable scope
...p('rectangle', 10000); borderXcurrent = Math.floor((_xmouse - 13) / CellSize + (_xmouse > borderXstart)) * CellSize + 13; borderYcurrent = Math.floor((_ymouse - 13) / CellSize + (_ymouse > borderYstart)) * CellSize + 13; if (borderXcurrent > CellSize * widthMax + 13) { borderXcurrent = CellSize * widthMax + 13; } if (borderXcurrent < 13) { borderXcurrent = 13; } if (borderYcurrent > CellSize * heightMax + 13) { borderYcurrent = CellSize * heightMax + 13; }...