gery
Posts: 5
Joined: Wed Oct 07, 2015 9:56 pm

Gradient example needed

Wed Oct 07, 2015 10:18 pm

I've run into problems using ajstarks' OpenVG library. What I want to achieve is blurred white lines running across the screen, but I can't quite understand how to use FillLinearGradient. Could someone give me a simple C example please? I couldn't work it out from the Go example that is provided in the library.

I'm trying to display something like the visual stimulus for this mouse seen here https://youtu.be/Kks05U96-9w


gery
Posts: 5
Joined: Wed Oct 07, 2015 9:56 pm

Re: Gradient example needed

Wed Oct 14, 2015 6:34 pm

Oh I see! When I ran shapedemo I did so without any arguments, so the gradient example didn't show. I tought it was only for demoing the basic shapes. I managed the figure it out. Thanks for the help and the great library! 8-)

Return to “OpenVG”