Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 How to make drawfilloval semitransparent
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
rated




PostPosted: 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
Sponsor
Sponsor
Sponsor
sponsor
Mackie




PostPosted: 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.
Sean




PostPosted: Fri May 23, 2008 7:04 am   Post subject: Re: How to make drawfilloval semitransparent

Heh, the Gradient Module Twisted Evil
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 3 Posts ]
Jump to:   


Style:  
Search: