Page 1 of 1

Round edges with imagefillpolygon

Posted: Fri Jan 15, 2010 5:50 am
by daradaniyal
I need to create round edges of whatever shape i make with the imagefilledpolygon function. I know it will be an algorithm involving trigonometric function. So if anyone could help I'll appreciate it.

Daniyal

Re: Round edges with imagefillpolygon

Posted: Fri Jan 15, 2010 7:05 pm
by Christopher
For round it would be the equation for a circle. If the corners where always the same then maybe just setting pixels in a know pattern would be easier.