Bugzilla – Attachment 519 Details for
Bug 1056
Trackpad gestures and zooming behave very, very poorly on OSX
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to use multiple drawLine() calls instead of drawPolyline()
0002-Use-multiple-drawLine-calls-instead-of-drawPolyline.patch (text/plain), 817 bytes, created by
Ryan Govostes
on 2019-03-20 05:31:40 CET
(
hide
)
Description:
Patch to use multiple drawLine() calls instead of drawPolyline()
Filename:
MIME Type:
Creator:
Ryan Govostes
Created:
2019-03-20 05:31:40 CET
Size:
817 bytes
patch
obsolete
>From fb948e488fe3b3fd34114370b0316039715b4193 Mon Sep 17 00:00:00 2001 >From: Ryan Govostes <rgovostes+git@gmail.com> >Date: Tue, 19 Mar 2019 23:58:00 -0400 >Subject: [PATCH 2/3] Use multiple drawLine() calls instead of drawPolyline() > >--- > pv/views/trace/analogsignal.cpp | 7 +++++++ > 1 file changed, 7 insertions(+) > >diff --git a/pv/views/trace/analogsignal.cpp b/pv/views/trace/analogsignal.cpp >index 5992464..a045e3d 100644 >--- a/pv/views/trace/analogsignal.cpp >+++ b/pv/views/trace/analogsignal.cpp >@@ -444,7 +444,14 @@ void AnalogSignal::paint_trace(QPainter &p, > } > delete[] sample_block; > >+#if 1 >+ for (int i = 1; i < points_count; i ++) >+ { >+ p.drawLine(points[i-1], points[i]); >+ } >+#else > p.drawPolyline(points, points_count); >+#endif > > if (show_sampling_points) { > if (paint_thr_dots) { >-- >2.20.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1056
:
518
| 519 |
520