Page 1 of 1

Gradient example needed

Posted: Wed Oct 07, 2015 10:18 pm
by gery
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

Re: Gradient example needed

Posted: Fri Oct 09, 2015 8:35 pm
by ajstarks

Re: Gradient example needed

Posted: Wed Oct 14, 2015 6:34 pm
by gery
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-)