note 111297 added to function.imagestring

From: Date: Mon, 04 Feb 2013 04:31:21 +0000
Subject: note 111297 added to function.imagestring
Groups: php.notes 
Request: Send a blank email to php-notes+get-193517@lists.php.net to get a copy of this message
Per http://stackoverflow.com/a/839931 - if you need to find the coordinate of a location on your arc (or a circle for that matter), the following function will help you: <?php function getCircleCoord ($radius, $angle, $centerX = 0, $centerY = 0) { return($centerX + $radius * cos(deg2rad($angle)), // x $centerY + $radius * sin(deg2rad($angle))); // y } ?> ---- Server IP: 69.147.83.199 Probable Submitter: 203.38.70.204 ---- Manual Page -- http://php.net/manual/en/function.imagestring.php Edit -- https://master.php.net/note/edit/111297 Del: integrated -- https://master.php.net/note/delete/111297/integrated Del: useless -- https://master.php.net/note/delete/111297/useless Del: bad code -- https://master.php.net/note/delete/111297/bad+code Del: spam -- https://master.php.net/note/delete/111297/spam Del: non-english -- https://master.php.net/note/delete/111297/non-english Del: in docs -- https://master.php.net/note/delete/111297/in+docs Del: other reasons-- https://master.php.net/note/delete/111297 Reject -- https://master.php.net/note/reject/111297 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#193517) next »