hi all,

i have a structure with me which contains array of points from which i want to draw certain line.
number of lines are also available in the structure.
Based on certain response that structure data will be changed and the lines need to be redrawn. structure data will be changes dynamically.

A very close real time example i can give is grid lines shown on reverse parking of a car, it even lines bend and change shape based on steering movement.
I made a single line, which bends at different angles but its not at all smooth.

the structure mentioned above holds all the points for respective vertical and horizontal lines.
i have read many things regarding beizer curves or cardinal splines.
Found certain code for turning line at various angles but all were in javascript.

my questions are:
1. are there any features in qml with which we can draw line based on array of points.
2. how do i approach to find the solution in building these complete set of lines and dynamically redraw them at various instance.

i am very new to qt. also quite a newbie to UI programming.
it would be great if someone can help me.

regards