note 95928 added to function.imagearc
| From: | ajim1417atgmaildotcom at osu1 dot php dot net | Date: | Fri, 29 Jan 2010 03:42:59 +0000 |
| Subject: | note 95928 added to function.imagearc | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-165478@lists.php.net to get a copy of this message | ||
I wrote a simple function that can draws an arc counter-clockwisekly. Here it is :
<?php
function imagearcCC(&$im, $cx, $cy, $w, $h, $s, $e, $c) {
$start = 360 - $e;
$end = 360 - $s;
return imagearc($im, $cx, $cy, $w, $h, $start, $end, $c);
}
?>
The params of this function is exactly the same as the usual imagearc function.
----
Server IP: 202.158.52.162
Probable Submitter: 202.91.13.234
----
Manual Page -- http://www.php.net/manual/en/function.imagearc.php
Edit -- https://master.php.net/note/edit/95928
Del: integrated -- https://master.php.net/note/delete/95928/integrated
Del: useless -- https://master.php.net/note/delete/95928/useless
Del: bad code -- https://master.php.net/note/delete/95928/bad+code
Del: spam -- https://master.php.net/note/delete/95928/spam
Del: non-english -- https://master.php.net/note/delete/95928/non-english
Del: in docs -- https://master.php.net/note/delete/95928/in+docs
Del: other reasons-- https://master.php.net/note/delete/95928
Reject -- https://master.php.net/note/reject/95928
Search -- https://master.php.net/manage/user-notes.php