Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to draw rectangle, rhombus, triangle at the extremities of lines
SamFaye last edited by
I want to draw rectangle,rhombus, triangle... at the extremities of my lines
My principal problem is how to dertermine the coordinates of the rectangle, rhombus, triangle...
How can I do this??
Eddy last edited by
Have a look at the "diagram scene example":http://doc.qt.nokia.com/4.7/graphicsview-diagramscene.html I think this is what you want.
Fortunately I remembered a previous topic you made so I could guess you're drawing on a QGraphicsscene. Please provide more information if you want specific answers.