You are here: SWFShape::drawArc confusion « PHP Programming Language « IT news, forums, messages
SWFShape::drawArc confusion

Posted by CptDondo on 10/11/06 17:14

Can anyone tell me what 'degrees' this method uses?

The docs say

void SWFShape::drawArc(float $r, float $startAngle, float $endAngle)

I am trying to draw an arc at a radius of 1100, and 0.0 to 90.0 gives me
a tiny dot. To get an arc that is 1/4 of a circle (90 degrees) I have
to tell it something like 1100, 0, 5000 - i.e. there are 20,000
'degrees' around the circle....

I can't come up with some reasonable combination of numbers that would
make that work out....

--Yan

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация