Skip to content

draw lines directly because it is more than 60 times faster than drawing the path

Martin Marmsoler requested to merge work/DrawSpeed into master

fixes #255 (closed)

seems that drawing directly the lines is much faster than drawing the linePath.

Problem introduced in 7a28d534

TODO:

  • remove linepath. only the maximas are needed to calculate the bounding rectangle
  • check droplines, errorlines, ...
  • Instead of using drawPolyline(QLineF) consider using drawPolyline(QPointF*, int count) maybe during every drawPolyline the state will be update which might be preventable using this method
Edited by Martin Marmsoler

Merge request reports

Loading