note 35336 added to function.imagerectangle

From: Date: Thu, 28 Aug 2003 06:21:41 +0000
Subject: note 35336 added to function.imagerectangle
Groups: php.notes 
Request: Send a blank email to php-notes+get-55200@lists.php.net to get a copy of this message
function ImageGrid(&$im,$startx,$starty,$width,$height,$xcols,$yrows,&$color) { for ( $x=0; $x < $xcols; $x++ ) { for ( $y=0; $y < $yrows; $y++ ) { $x1 = $startx + ($width * $x); $x2 = $startx + ($width * ($x+1)); $y1 = $starty + ($height * $y); $y2 = $starty + ($height * ($y+1)); ImageRectangle($im, $x1, $y1, $x2, $y2, $color); } } } // end function ImageGrid ---- Manual Page -- http://www.php.net/manual/en/function.imagerectangle.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+35336 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35336&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35336&report=yes

« previous php.notes (#55200) next »