dennis81
30th March 2012, 17:16
Hello community,
I am writing a Qt application with a diagram surface.
The diagram contains polygon lines with sharp corners, but I need round ones.
The Line width must be zero, so using a QPen with rounded corners is no option.
Is there a simple algorithm that translates a QPolygon in QPainterpath with rounded corners?
7544
greets,
Dennis
I am writing a Qt application with a diagram surface.
The diagram contains polygon lines with sharp corners, but I need round ones.
The Line width must be zero, so using a QPen with rounded corners is no option.
Is there a simple algorithm that translates a QPolygon in QPainterpath with rounded corners?
7544
greets,
Dennis