Search:

Type: Posts; User: brian.edmond

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    4,455

    Re: alpha value when drawing image

    When I render images I use:
    vgSeti( VG_IMAGE_MODE, VG_DRAW_IMAGE_NORMAL );
    If I need to add a global alpha blend then I set:
    // set the global alpha in the color
    ...
  2. Replies
    1
    Views
    4,434

    Re: Displaying Images

    I load PNG files with either libpng or the Soil library. I then do the following to create a vgImage from the data:

    uint8_t *data; // this is a pointer to the decoded image
    int stride; // this...
  3. Replies
    1
    Views
    3,659

    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...
Results 1 to 3 of 3