c++ - Drawing polylines with specific angles in QT -


is possible add specific angles polyline in qt?

i draw polyline with:

 qpointf points[3] = {            qpointf(x,y),      qpointf(x2,y2};      qpointf(x3,y3};      painter.drawpolyline(points, 3); 

i need polyline arrow @ end. idea copy last line part, reduce size , give him specific angle.

i don't think possible, can suggest @ analog clock example on documentation see how draw rotated arrow.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -