How to draw rectangle, rhombus, triangle at the extremities of lines
-
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??
-
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.