Results 1 to 2 of 2

Thread: Global belnd with DrawImage

  1. #1

    Global belnd with DrawImage

    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.

    Thanks,
    Brian
    Brian Edmond
    Crank Software Inc.
    Online: www.cranksoftware.com

  2. #2
    Senior Member
    Join Date
    Feb 2006
    Posts
    115

    Re: Global belnd with DrawImage

    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.

Similar Threads

  1. Any global barrier?
    By Tim82 in forum OpenCL
    Replies: 2
    Last Post: 12-20-2011, 02:01 AM
  2. Global Barriers?
    By guillona in forum OpenCL
    Replies: 2
    Last Post: 02-20-2010, 04:58 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •