Spam detection software, running on the system "mx.qt-project.org",
has identified this incoming email as possible spam.  The original
message has been attached to this so you can view it or label
similar future email.  If you have any questions, see
the administrator of that system for details.

Content preview:  On 9/25/19 10:58 PM, André Pönitz wrote: > Is drawing the
   grid so expensive that you can't simply do that on > each update of the 
"lower
   levels"? I don't know about the specific situation of Israel, but a grid
  is often made of dotted lines and in oscilloscope alike situations it is not
   unlikely to be more expensive, than drawing the curve - if it is a solid
  line of not too many points. [...] 

Content analysis details:   (4.5 points, 4.0 required)

 pts rule name              description
---- ---------------------- --------------------------------------------------
 0.8 BAYES_50               BODY: Bayes spam probability is 40 to 60%
                            [score: 0.4910]
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 1.0 RDNS_DYNAMIC           Delivered to internal network by host with
                            dynamic-looking rDNS
 0.4 KHOP_HELO_FCRDNS       Relay HELO differs from its IP's reverse DNS
 2.3 FORGED_MUA_MOZILLA     Forged mail pretending to be from Mozilla


--- Begin Message ---
On 9/25/19 10:58 PM, André Pönitz wrote:

Is drawing the grid so expensive that you can't simply do that on each update of the "lower levels"?

I don't know about the specific situation of Israel, but a grid is often
made of dotted lines and in oscilloscope alike situations it is not
unlikely to be more expensive, than drawing the curve - if it is a solid
line of not too many points.

So yes having to redraw the grid with each frame can be a bottleneck for
plot widgets.

I did not check the code of the QGraphicsView framework since quite
some time, but IIRC correctly it "renders" before clipping - like Qt
does in general. So in situations where you zoom in deep and the
coordinates of some lines reach far out the visible area it can become
a significant factor.

I remember that in the early Qt4 days I was running into situations,
where rendering a grid took minutes(!) for a zoomed-in polar
plot ( https://qwtpolar.sourceforge.io/ ). The time was spent on
calculating millions of dots that were far outside the visible area.

It might be more than 10 years ago since I suggested adding a
ClipPolygon flag to the QPainter renderHints, without having much
success. This is why Qwt always manually clips before calling QPainter
methods.

Uwe


--- End Message ---
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to