I need to create plugin to QGIS that will draw buffers about width equal 1/2 length each line.
So, around each lines be created square
I searched good solution but I found only plugin Buffer by percentage (it works only with polygon) and a few threads about buffer around point but it's not enough for me.
Maybe you have an idea how it could be solved?
I don't need all code, I just don't know what I should do now.