Feature #8725: drawConvexPolygon() can be faster

On some platforms (e.g. X11), the drawConvexPolygon() function can be
faster than the drawPolygon() function.

https://qt-project.org/doc/qt-4.8/qpainter.html#drawConvexPolygon