View Full Version : Global belnd with DrawImage
01-02-2010, 12:36 PM
I have loaded a PNG and render it with vgDrawImage(). I would like to hae a global blend factor added to the image when it is pressed on, %50 for example. How would I do this using OpenVG, I did not see a global blend factor.
01-04-2010, 09:31 AM
To get that effect for images, use vgDrawImage() with mode VG_DRAW_IMAGE_MULTIPLY with the paint set to solid color (1,1,1,opacity).
Alternatively, in VG 1.1, using VG_COLOR_TRANSFORM could also do the trick.
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.