Hello,
I need a PHP algorithm to draw a polygon in SVG format with ROUNDED CORNERS. The result has to be more or less the same than if using the "Effects, Stylize, Round Corners" function in Adobe Illustrator.
Please, look at the samples attached :
The first picture ([login to view URL]) is made by joining each point of the polygon with a straight line, this is the result of the current [login to view URL] program.
The two other pictures (rounded_5 and rounded_30) are what the result must be using the rounded function (I made these two samples with Illustrator using the "Round Corners" effect with a 5 and 30 value).
So you have to implement the svgPolygonRounded function as highlighted in the attached program. Of course the SVG code may differ from the one made by Illustrator, but the visual result must be the same.
Some links that may help :
[login to view URL]
[login to view URL]
[login to view URL]
[login to view URL]
[login to view URL]
[login to view URL]
## Deliverables
1) All deliverables will be considered "work made for hire" under U.S. Copyright law. Employer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the employer on the site per the worker's Worker Legal Agreement).
2) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
3) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):
a) For web sites or other server-side deliverables intended to only ever exist in one place in the Employer's environment--Deliverables must be installed by the Worker in ready-to-run condition in the Employer's environment.
b) For all others including desktop software or software the employer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this project.
## Platform
PHP, SVG