[Gambas-user] Image.DrawRect() is same with Image.FillRect()

Benoît Minisini gambas at ...1...
Fri Feb 25 01:27:49 CET 2011


> Hi,
> 
> i use the Image.DrawRect but i get the same result with Image.FillRect
> i use gnome and ubuntu 10.04.
> 
> project
> http://www.mediafire.com/?kplu15bfewnmgb8
> 
> lines 109-119

Actually the names are not well chosen.

Draw.FillRect() fills an opaque rectangle with a color.

Draw.DrawRect() fills a rectangle, but merge the rectangle with the image if 
the color is transparent.

Regards,

-- 
Benoît Minisini




More information about the User mailing list