The hierarchy of classes in Qt (5.4 version) is awesome. I tried to find solution in Qt's sources, but my end point of investigation is the QPaintEngine
. This class has member:
virtual void QPaintEngine::drawPath(const QPainterPath &)
This member is simple gap (do nothing). The only derived class is QRasterPaintEngine
(implementation for linux), which does not override the drawPath
method. Does somebody have ideas?
I want to find way to paint path. I guess that painter path (simplified version (without self intersections)) are converted to polygons. Given polygons are triangulated. I want to see implementation of triangulation.