note 20332 added to function.imagefilledellipse

From: Date: Sat, 30 Mar 2002 21:31:58 +0000
Subject: note 20332 added to function.imagefilledellipse
Groups: php.notes 
Request: Send a blank email to php-notes+get-28414@lists.php.net to get a copy of this message
Sometimes, you have x1, y1, x2, y2 parameters, but not the center, width, and height. Use this to draw a filled ellipse from your x1, y1, x2, and y2: ImageFilledEllipse( $im, ($x1 + round(($x2 - $x1) / 2)), ($y1 + round(($y2 - $y1) / 2)), ($x2 - $x1), ($y2 - $y1), $color); -- http://www.php.net/manual/en/function.imagefilledellipse.php http://master.php.net/manage/user-notes.php?action=edit+20332 http://master.php.net/manage/user-notes.php?action=delete+20332 http://master.php.net/manage/user-notes.php?action=reject+20332

« previous php.notes (#28414) next »