note 84800 added to function.swfshape.drawarc
| From: | visual77 at gmail dot com | Date: | Wed, 30 Jul 2008 17:03:18 +0000 |
| Subject: | note 84800 added to function.swfshape.drawarc | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-142934@lists.php.net to get a copy of this message | ||
After the arc is drawn, the pen does not return to the original coordinate that the arc started on,
which is the center of the circle of which the arc is a part. Instead, the pen will remain at the
last spot of the arc.
In the case of a full circle, this means the pen will now be at 12 o'clock on the circle after
the arc is drawn.
To revert back to the original position after drawing a circle, you can do this...
<?php
$shape = new SWFShape();
$shape->drawArc(5, 0, 360);
$shape->movePen(0, 5);
?>
----
Server IP: 209.41.74.194
Probable Submitter: 24.234.114.199
----
Manual Page -- http://www.php.net/manual/en/function.swfshape.drawarc.php
Edit -- https://master.php.net/note/edit/84800
Del: integrated -- https://master.php.net/note/delete/84800/integrated
Del: useless -- https://master.php.net/note/delete/84800/useless
Del: bad code -- https://master.php.net/note/delete/84800/bad+code
Del: spam -- https://master.php.net/note/delete/84800/spam
Del: non-english -- https://master.php.net/note/delete/84800/non-english
Del: in docs -- https://master.php.net/note/delete/84800/in+docs
Del: other reasons-- https://master.php.net/note/delete/84800
Reject -- https://master.php.net/note/reject/84800
Search -- https://master.php.net/manage/user-notes.php