If I am not wrong color ramps are used for setting colors…
I dont want colors …
I want variants of the single color (black which is the default)
The same code when I use with radial gradient, I can see the radial gradient effect there.
Why is not the case with Linear Gradient???
Well, theoretically and from just inspection, the code should work as you intended it to. I’m assuming you’re leaving your fill paint matrix at identity. It’s customary to set a color ramp after setting a linear gradient, so maybe you’ve discovered a bug in whatever OpenVG driver you’re using. Try setting a ramp and/or moving the coords a little to see what’s going wrong.
Expecting praise, love, and a brighter tommorow… but wont be too disappointed if I don’t get anything.