function pSurface::setGrid in Visitors 7
Same name and namespace in other branches
- 7.2 pChart/class/pSurface.class.php \pSurface::setGrid()
File
- pChart/
class/ pSurface.class.php, line 41
Class
Code
function setGrid($XSize = 10, $YSize = 10) {
for ($X = 0; $X <= $XSize; $X++) {
for ($Y = 0; $Y <= $YSize; $Y++) {
$this->Points[$X][$Y] = UNKNOWN;
}
}
$this->GridSizeX = $XSize;
$this->GridSizeY = $YSize;
}