[Gambas-user] New incompatible change in /trunk

Benoît Minisini gambas at ...1...
Sun Apr 10 23:40:58 CEST 2011


Hi,

I have renamed the Image.Draw() method into Image.PaintImage() method.

At the same time, I added a method named Image.DrawImage().

The difference between Image.PaintImage() and Image.DrawImage() is that 
Image.PaintImage() takes the alpha channel into account (it blends the image), 
whereas Image.DrawImage() does not (it copies the alpha component from the 
source to the destination).

Sorry for that last minute change, but the names are less ambiguous now, and 
follows the same convention than Image.FillRect() and Image.PaintRect().

So check your projects!

-- 
Benoît Minisini




More information about the User mailing list