Hi all, Is there a way to clip a polyline (non closed QPolygonF) by a rectangle *before* drawing the polyline with QPainter::drawPolyline()? This clipping would of course produce a bunch of new polylines, maybe a QList<QPolygonF>? I did not find such a method in the docs. Or didn't i look hard enough? Best regards, Andre