1 Dec 2008 15:44
cairo gradient shadows
second attempt at drop-down shadows with shoebot. this time it's pure cairo gradient. the results are much uglier than the bitmap solution with PIL, but quite faster. example: http://www.hv-a.com/shoebot/images/shadow_2.png it is made with a cairo radial gradient, and maybe a linear gradient along path's bbox diagonal would look nicer,i will try. needs more tweaking, maybe i'd put it in roadmap for 0.4 release or something like that. btw. with both methods i've tried up to now, there's an issue with rotated paths, because shadows gets the rotation as well and looks like light source had changed, but maybe i can solve this... f. -- -- architetto Francesco Fantoni <HVA - Hermanitos Verdes Architetti> l.go san giacomo, 38 I-41100 modena (italia) tel.& fax. +39.059.217554 skype: hva_studio e.mail: francesco@... web: http://www.hv-a.com
SVG works though. (This is with all
versions
RSS Feed