note 116633 added to function.imagefilledpolygon
| From: | rbenheidorn at gmail dot com | Date: | Sun, 01 Feb 2015 21:20:07 +0000 |
| Subject: | note 116633 added to function.imagefilledpolygon | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-201574@lists.php.net to get a copy of this message | ||
Discovered while working on printing geographical boundaries to an image: if you provide floating
point vertices, then the decimal value is automatically truncated. This can cause images drawn with
floating point vertices to shift slightly towards the top-left corner. My personal resolution is to
round all of the vertices to their nearest whole values, which eliminates this shift.
----
Server IP: 72.52.91.14
Probable Submitter: 173.167.78.113
----
Manual Page -- http://php.net/manual/en/function.imagefilledpolygon.php
Edit -- https://master.php.net/note/edit/116633
Del: integrated -- https://master.php.net/note/delete/116633/integrated
Del: useless -- https://master.php.net/note/delete/116633/useless
Del: bad code -- https://master.php.net/note/delete/116633/bad+code
Del: spam -- https://master.php.net/note/delete/116633/spam
Del: non-english -- https://master.php.net/note/delete/116633/non-english
Del: in docs -- https://master.php.net/note/delete/116633/in+docs
Del: other reasons-- https://master.php.net/note/delete/116633
Reject -- https://master.php.net/note/reject/116633
Search -- https://master.php.net/manage/user-notes.php