Hi
I have a doubt on linear gradients in openVG

I draw an ellipse and wnat to have an output such that along a line I should get variant of shades of same color......(color in which the ellipse is drawn)

I have used the following Code:

VGfloat coords[4]= {250.0,340.0,250.0,160.0};
shadowPaint = vgCreatePaint(); vgSetParameteri(shadowPaint,VG_PAINT_TYPE,VG_PAINT _TYPE_LINEAR_GRADIENT);
vgSetParameterfv(shadowPaint,VG_PAINT_LINEAR_GRADI ENT,4,coords);
circle = vgCreatePath(VG_PATH_FORMAT_STANDARD, VG_PATH_DATATYPE_F, 1.0f, 0.0f, 0, 0, VG_PATH_CAPABILITY_ALL);
vguEllipse(circle, 250.0f,250.0f, 180.0f, 180.0f);
vgSetPaint(shadowPaint, VG_FILL_PATH);
vgDrawPath( circle, VG_FILL_PATH );


But I see a grayuniformly shaded ellipse
But I need an ellipse with variants of black color.....
What is going wrong here...

Expecting reply.........