Re: [PHP] Rounded rectangle in php

2009-01-29 Thread ceo
Yes, you will need four ellipses, arcs, or similar shapes -- but they'll all be the SAME except for the center, so make that a function probably. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Rounded rectangle in php

2009-01-29 Thread tedd
At 11:36 AM -0200 1/29/09, Jônatas Zechim wrote: Hi there, is it possible do make a rounded rectangle in php, i can do a ellipse, but i need a space between the corners, i need to make something like this: http://superbrush.files.wordpress.com/2008/03/086.jpg not the color and the shadows, only

Re: [PHP] Rounded rectangle in php

2009-01-29 Thread Greg Bowser
It is certainly possible, but to my knowledge, there is no built-in method for doing so. After a quick Google, it looks like this has been done before: http://www.assemblysys.com/dataServices/php_roundedCorners.php http://us3.php.net/manual/en/function.imagefilledrectangle.php#42815 But if you'r