Re: RES: [PHP] Rounded rectangle in php
On Thu, 2009-01-29 at 13:31 -0200, Jônatas Zechim wrote: Hi Tedd, i cant imagine doing that pic i've show to u, follow me, I must do 4 ellipse and 1 rectangle and union all to make a rounded rectangle? My problem now is the geometry. *--* | | *--* It can be this? zechim -Mensagem original- De: tedd [mailto:tedd.sperl...@gmail.com] Enviada em: quinta-feira, 29 de janeiro de 2009 13:21 Para: Jônatas Zechim; php-general@lists.php.net Assunto: Re: [PHP] Rounded rectangle in php 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 the form. zechim zechim: You can draw anything you want, as long as you can describe it via statements. Here's a simple example: http://www.webbytedd.com/b4/draw/ Here's rotated text: http://www.webbytedd.com/b/rotate-text/ Here are some charts: http://webbytedd.com/ccc/charts/ Keep in mind that these are very simple examples of what can be done. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com The link you've given can be done in PHP. You just need to know exactly all of the steps involved. You'll need to draw each line and then each curve, fill the whole thing with a gradient, and then add a shadow in after. Each step I've mentioned here must be further broken down into individual parts that you can algorithmically describe. Ash www.ashleysheridan.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RES: [PHP] Rounded rectangle in php
Hi Tedd, i cant imagine doing that pic i've show to u, follow me, I must do 4 ellipse and 1 rectangle and union all to make a rounded rectangle? My problem now is the geometry. *--* | | *--* It can be this? zechim -Mensagem original- De: tedd [mailto:tedd.sperl...@gmail.com] Enviada em: quinta-feira, 29 de janeiro de 2009 13:21 Para: Jônatas Zechim; php-general@lists.php.net Assunto: Re: [PHP] Rounded rectangle in php 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 the form. zechim zechim: You can draw anything you want, as long as you can describe it via statements. Here's a simple example: http://www.webbytedd.com/b4/draw/ Here's rotated text: http://www.webbytedd.com/b/rotate-text/ Here are some charts: http://webbytedd.com/ccc/charts/ Keep in mind that these are very simple examples of what can be done. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RES: [PHP] Rounded rectangle in php
Thank u, i'll try, when I do, i'll post here. zechim -Mensagem original- De: c...@l-i-e.com [mailto:c...@l-i-e.com] Enviada em: quinta-feira, 29 de janeiro de 2009 13:52 Para: php-general@lists.php.net Assunto: Re: [PHP] Rounded rectangle in php 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: RES: [PHP] Rounded rectangle in php
Jônatas Zechim wrote: Thank u, i'll try, when I do, i'll post here. zechim -Mensagem original- De: c...@l-i-e.com [mailto:c...@l-i-e.com] Enviada em: quinta-feira, 29 de janeiro de 2009 13:52 Para: php-general@lists.php.net Assunto: Re: [PHP] Rounded rectangle in php 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. Imagick functions will do it easily. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php