How to draw a quadratic curve using OpenVG....

I used the following code:

VGPath path;

VGubyte segments[] = {VG_QUAD_TO_ABS};
VGfloat coords[] = { 100,100,
150,200,
200,100
};
path = vgCreatePath(VG_PATH_FORMAT_STANDARD, VG_PATH_DATATYPE_F, 1.0f, 0.0f, 0, 0, VG_PATH_CAPABILITY_ALL);
vgAppendPathData(path,1,segments,coords);
vgDrawPath( path, VG_STROKE_PATH );
vgDestroyPath( path );


I get nothing...
When I change the 2nd parameter to 2 ,I get some curve which I cannot understand...

When I am drawing only a single path why should I give 2 in the parameter.....
Expecting Reply...