Also fill paths consisting of a single curve


Requiring at least three elements is correct as long as there are
only straight lines in the path, but a single curve does define an
area. Since all paths start with a move, allow filling paths with
at least two elements.

Pick-to: 6.12
Change-Id: I905fc8ea298e129247b0c0ec4c2f7e32202fd280
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
commit1aaec54720ada4acdac6f608702b045256a40119
parent3554705798cbd7b94fc8831d5e578cd7b48f2fbd
authorPaul Olav Tvete <paul.tvete@qt.io>
committerPaul Olav Tvete <paul.tvete@qt.io>
commit timeFri, 12 Jun 2026 07:32:31 +0000