cubicTo.pngHi All,

I want to draw smooth Path from point A->B->C->D.(see attached Image).

my Code is as below
Qt Code:
  1. QPainterPath myPath(A);
  2. myPath.cubicTo(A,A,B);
  3. myPath.cubicTo(B,B,C);
  4. myPath.cubicTo(C,C,D);
  5.  
  6. myPaint.drawPath(myPath);
To copy to clipboard, switch view to plain text mode 

I am getting output as green lines in attachment. How can I get output as "Black Lines" in attachment? How Can i get reed of green lines shown in black boxes?

Thanks,