note 112636 added to function.imagearc
| From: | lucas dot delmas at live dot fr | Date: | Sun, 07 Jul 2013 19:15:25 +0000 |
| Subject: | note 112636 added to function.imagearc | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-195488@lists.php.net to get a copy of this message | ||
The imagearc function has a precision of one degree. The function truncates the $start and $end
values to the inferior degree.
For example if the starting angle you calculated is : -178.62450462172°
and the ending angle is : -152.78056427917°
imagearc will draw a curve from -178° to -152°.
If you need accurate curves drawing, you need to use a loop to draw little step-by-step lines. By
creating a large number of short enough lines, you will create the impression of a curve with
accuracy.
----
Server IP: 69.147.83.199
Probable Submitter: 82.124.246.61
----
Manual Page -- http://php.net/manual/en/function.imagearc.php
Edit -- https://master.php.net/note/edit/112636
Del: integrated -- https://master.php.net/note/delete/112636/integrated
Del: useless -- https://master.php.net/note/delete/112636/useless
Del: bad code -- https://master.php.net/note/delete/112636/bad+code
Del: spam -- https://master.php.net/note/delete/112636/spam
Del: non-english -- https://master.php.net/note/delete/112636/non-english
Del: in docs -- https://master.php.net/note/delete/112636/in+docs
Del: other reasons-- https://master.php.net/note/delete/112636
Reject -- https://master.php.net/note/reject/112636
Search -- https://master.php.net/manage/user-notes.php