Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Alpha channel on Basic2D?

Author
Message
jezza
16
Years of Service
User Offline
Joined: 8th Mar 2008
Location: Bham, UK
Posted: 24th May 2008 13:29
Can i set the ink colour so that it goes slightly transparent when I draw a box or something?
jezza
16
Years of Service
User Offline
Joined: 8th Mar 2008
Location: Bham, UK
Posted: 25th May 2008 21:52
well can I?
Lilith
16
Years of Service
User Offline
Joined: 12th Feb 2008
Location: Dallas, TX
Posted: 26th May 2008 03:04
I can't recall exactly what my results were but I think not. If it works at all you'd need to calculate a color value that included the alpha instead of using dbRGB.


I generally prefer to specify the alpha value last because my sensibilities say it doesn't contribute as strong as the primaries to the total color.



No guarantee that it will work. I've taken to directly manipulating the alpha value of images, if necessary, down to the alpha value.

Lilith, Night Butterfly
I'm not a programmer but I play one in the office

Login to post a reply

Server time is: 2024-09-29 21:25:11
Your offset time is: 2024-09-29 21:25:11