nanogui: How to change the alpha value of a pixmap?
Subject:
How to change the alpha value of a pixmap?
From:
arne hoch ####@####.####
Date:
23 Jun 2012 19:55:15 -0000
Message-Id: <4FE61F07.1070809@derhoch.de>
Hello,
how can I efficiently change the alpha value of all pixels in a pixmap?
I want to do a fadein/-out effect. In a previous version I could do sth
like this:
GrCopyArea(trg, gc, 0, 0, w, h, src, 0, 0,
MWROP_BLENDCONSTANT | (fadelevel & 0xFF));
But this does not work anymore, since the constant is now fixed at 150.
Regards,
arne