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

java - Spring Data JPA: Why findOne(id) executing delete query internally? -

python - Mongodb How to add addtional information when aggregating? -

java - Incorrect order of records in M-M relationship in hibernate -