Re: [QGIS-Developer] PyQGIS: how to modify default behavior of QgsRubberBand

2023-02-20 Thread Jacky Volpes via QGIS-Developer
Hi Joseph, Like you, rubber bands and drawing/paint stuff are quite obscure to me and I need to dig into it when I want something specific... I don't have a direct answer, but you could look into existing code doing similar things: the plugins "beePen" and "Bezier Editing" available in QGIS

[QGIS-Developer] PyQGIS: how to modify default behavior of QgsRubberBand

2023-02-19 Thread Joseph Burkhart via QGIS-Developer
Hello, I'm working on a python plugin that provides a new map tool for drawing polygons and I'm hoping someone could give me some pointers. I'm very familiar with the pyqgis API when it comes to processing, less so (but learning) when it comes to gui. I have created a new polygon drawing tool