[Qt-interest] setting Alphatransparency while drawing image
Prasanta Sadhukhan
Prasanta.Sadhukhan at Sun.COM
Fri Dec 12 10:03:10 CET 2008
Hi,
I want to set the alphatransparency while drawing an image but am not
sure how to do it
In the attached program, if I want to set the alpha transparency to 0.5
(ie., 128) [0 being full transparent, 1 being full opaque) so that the
image drawn is half-transparent, what I need to do in AWT_drawimage()
function? Now, as I see from the output, the image drawn is fully opaque
Any idea is welcome
Regards
Prasanta
-------------- next part --------------
A non-text attachment was scrubbed...
Name: drawline.cpp
Type: text/x-c++src
Size: 6555 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20081212/36fb4dc8/attachment.bin
More information about the Qt-interest-old
mailing list