Claudio Saavedra wrote:
> El mar, 25-03-2008 a las 16:46 -0600, Jeffrey Barish escribió:
>> I would like to put a shadow behind an Image.  I suppose that the way
>> to do this is to superimpose the desired image on an image of a
>> shadow.  Does anyone know where I can find an image of a shadow?  Any
>> sample code?
> 
> ?In gnome-utils/gnome-screenshot there is code for that.

I will look at this code.  Thanks.

In the meantime, I found an image of a shadow surrounding a black region.  I
am attempting to use Pixbuf composite to superimpose my image on the black
region.  My attempt almost works, but the source image gets smeared to the
edge of the shadow (the destination) by extending the last pixels on every
edge of the source to the corresponding edge of the destination.  Can
anyone guess from this description what I'm doing wrong?  I have tried
every type of interpolation.
-- 
Jeffrey Barish

_______________________________________________
gtk-app-devel-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to