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

2011-02-26 Thread Demosthenes Koptsis
ok, i found color.setalpha(). it is ok for integer color values than RGB format. i use integer values. On Fri, 2011-02-25 at 13:43 +0100, Fabien Bodard wrote: > 2011/2/25 Demosthenes Koptsis : > > ok, something else. > > > > i see there is no documentation but if you like to answer a question > >

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

2011-02-25 Thread Demosthenes Koptsis
Thanks Fabien i will try it. On Fri, 2011-02-25 at 13:43 +0100, Fabien Bodard wrote: > 2011/2/25 Demosthenes Koptsis : > > ok, something else. > > > > i see there is no documentation but if you like to answer a question > > about DrawRect. > > > > how i declare transparency to a color? > > i see t

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

2011-02-25 Thread Fabien Bodard
2011/2/25 Demosthenes Koptsis : > ok, something else. > > i see there is no documentation but if you like to answer a question > about DrawRect. > > how i declare transparency to a color? > i see the syntax is > Image.DrawRect(X,Y,Width,Height,Color) > > > > On Fri, 2011-02-25 at 01:27 +0100, Benoî

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

2011-02-25 Thread Demosthenes Koptsis
ok, something else. i see there is no documentation but if you like to answer a question about DrawRect. how i declare transparency to a color? i see the syntax is Image.DrawRect(X,Y,Width,Height,Color) On Fri, 2011-02-25 at 01:27 +0100, Benoît Minisini wrote: > > Hi, > > > > i use the Image.

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

2011-02-24 Thread Benoît Minisini
> 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.DrawR

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

2011-02-24 Thread Demosthenes Koptsis
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 -- Regards, Demosthenes Koptsis. -- Free Soft