
-----------------------------------
rated
Thu May 22, 2008 8:42 pm

How to make drawfilloval semitransparent
-----------------------------------
hello guys,

I have a background image and an oval increasing in size over the background. I want to know how to make the oval semi-transparent. 

Any help would be appreciated. Thanks
 
setscreen ("graphics:max;max")
xbox := Pic.FileNew ("xbox2.jpg")
xboxresize := Pic.Scale (xbox, maxx, maxy)
Pic.Draw (xboxresize, 0, 0, picCopy)

for radius : 1 .. maxy-200 by 10
cls
    delay (40)
    drawfilloval (maxx div 2, maxy div 2,radius, radius, white)   
end for 


-----------------------------------
Mackie
Thu May 22, 2008 8:48 pm

RE:How to make drawfilloval semitransparent
-----------------------------------
http://compsci.ca/v3/viewtopic.php?t=17171&postdays=0&postorder=asc&start=15

There is a semi-transparent square there, use that same function, and write your own circle. It's slow, but it's the only way I can think of at least. You're also restricted to the default 256 colors.

-----------------------------------
Sean
Fri May 23, 2008 7:04 am

Re: How to make drawfilloval semitransparent
-----------------------------------
Heh, the Gradient Module  :twisted:
