If you are doing this within a QGraphicsView, make sure you turn on
antialiasing <http://doc.qt.io/qt-5/qgraphicsview.html#renderHints-prop>.
Also, you might want to try a rounded join style
<http://doc.qt.io/qt-5/qpen.html#join-style> on the QPen you are using.
Posting an example of what you are getting now would help others help you.

On Tue, Feb 21, 2017 at 4:17 AM, Patrick Stinson <[email protected]>
wrote:

> Hello!
>
> I am painting a series of connected QLineF's with varying vectors and
> widths. Is there any way to smooth them out to be more vector-ish, so you
> don't see the jagged transitions between the segments?
>
>
> This is for hand writing notes with the Apple Pencil. I have one segment
> per event with pressure determining width and it just looks so jagged now...
>
>
> Thanks!
>
> _______________________________________________
> Interest mailing list
> [email protected]
> http://lists.qt-project.org/mailman/listinfo/interest
>
>
_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to