[Gambas-user] Image over image - transparence
Rob
sourceforge-raindog2 at ...94...
Fri Jan 16 07:19:22 CET 2004
On Thursday 15 January 2004 15:38, -=FoX=- wrote:
> There is a way to have image transparence over an image?
I just tried this and it works fine.
' given dr is a drawingarea
dim pp as picture
pp = Picture["/home/mydir/some-image.png"]
dr.cached = true
Draw.begin(dr)
Draw.picture(pp,10,10)
Draw.picture(pp,40,20)
Draw.end
results in my partly transparent image being drawn twice,
overlapping, with the one in the back showing in the "holes" of
the one in the front.
Rob
More information about the User
mailing list