I am using QGIS and QtCreator and I have two questions:
How to draw customized/complicated shapes with QGIS?
How can I calculate the pixel values (to draw my own shapes) since I always have the real world distance.
As I know QGIS vector layers comes only with points/lines/poly and I would like to draw my own complicated symbols.
What I have done so far is creating my own object that inherits
QgsMapCanvasItem and I draw the symbol in the painter method the painter get triggered each time the scale is changed.
I am not sure if I am repeating something already been done is QGIS please advice the best way to do it.