note 29181 added to function.imagedashedline

From: Date: Wed, 05 Feb 2003 11:43:58 +0000
Subject: note 29181 added to function.imagedashedline
Groups: php.notes 
Request: Send a blank email to php-notes+get-43457@lists.php.net to get a copy of this message
Instead function ImageDashedLine I have written new: function ImageDashedLine_($im,$x1,$y1,$x2,$y2,$col){ $w = imagecolorallocate ($im, 255, 255, 255); if(function_exists('imagesetstyle')) { $style = array ($col,$col,$col,$col,$col,$w,$w,$w,$w,$w); imagesetstyle ($im, $style); imageline ($im, $x1,$y1,$x2,$y2, IMG_COLOR_STYLED); } else { ImageDashedLine($im,$x1,$y1,$x2,$y2,$col);} } -- http://www.php.net/manual/en/function.imagedashedline.php http://master.php.net/manage/user-notes.php?action=edit+29181 http://master.php.net/manage/user-notes.php?action=delete+29181 http://master.php.net/manage/user-notes.php?action=reject+29181

« previous php.notes (#43457) next »