[development] Drupal 5.0 Theme - v2

Chris Johnson chris at tinpixel.com
Fri Sep 29 19:22:43 UTC 2006


> Regarding rounded corners, the jquery plugin and such...
> 
> The jquery module works by inserting lots of elements styled in some magical 
> way that produces the roundedness.  After those elements are inserted, its 
> not so different from what you've added to your markup.  Depending on the 
> radius of the round, it inserts a lot more elements than your 4 or 5.

Wild and crazy idea #37:

Why not generate the rounded corners, anti-aliased even, as images created on 
the fly?  If GD is compiled in, use that.  If not, how hard can it be to write 
the algorithm in fine-tuned PHP code?  It can be done in all integer math, 
although that's probably not the slow part of doing this.




More information about the development mailing list