Computer Science Canada

How to make drawfilloval semitransparent

Author:  rated [ Thu May 22, 2008 8:42 pm ]
Post subject:  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
Turing:

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

Author:  Mackie [ Thu May 22, 2008 8:48 pm ]
Post subject:  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.

Author:  Sean [ Fri May 23, 2008 7:04 am ]
Post subject:  Re: How to make drawfilloval semitransparent

Heh, the Gradient Module Twisted Evil


: