16 Commits

Author SHA1 Message Date
Mike Walters
ca2a52dd53 Don't try to draw an empty traceplot
fixes #102
2017-12-24 15:32:31 +00:00
Josh Blum
3f5e373ee4 replace off_t with size_t to match system pointer size
I was having an issue with size of off_t on a multi-gigabit file.
This may have been related to long being a signed 32 bits on MSVC.
But I think there is good reason to use size_t here in general:

https://stackoverflow.com/questions/10634629/what-are-the-usage-differences-between-size-t-and-off-t
2017-11-25 16:06:08 -06:00
Mike Walters
ec45e0f6da plot: Add sample output interface 2016-04-07 22:11:34 +01:00
Mike Walters
f20d99a4f8 plot: Draw plot tiles in background thread 2016-04-03 19:14:54 +01:00
Mike Walters
270f44ccbe plot: Cache tile pixmaps 2016-04-03 19:13:43 +01:00
Mike Walters
8ad24ac48f traceplot: Fix plotting of first sample in painter path
Previously was drawing a line from (0,0) to the first sample rather
than setting the initial position to the first sample then drawing
from there.
2016-04-03 19:13:43 +01:00
Mike Walters
2d948d2e67 plot: Split traceplot drawing into fixed-width tiles 2016-04-03 19:13:43 +01:00
Mike Walters
d332fc2628 plot: Plot to QImage then draw 2016-04-03 19:13:43 +01:00
Mike Walters
634900b0e7 traceplot: Tidy up plotTrace a bit 2016-04-03 19:13:43 +01:00
Mike Walters
6ffcc66fa5 traceplot: Antialiasing 2016-04-03 19:13:43 +01:00
Mike Walters
1782b19fe1 traceplot: Use QPainterPath 2016-04-03 19:13:43 +01:00
Mike Walters
f6d7bf5ca2 traceplot: Clean up trace plotting 2016-04-03 19:13:43 +01:00
Mike Walters
a1af3fe0be plot: Add default impl of all paint* functions 2016-03-04 13:15:25 +00:00
Mike Walters
0694d3fd45 samplebuffer: Add some nullptr checks to fix crashyness 2016-03-04 13:15:25 +00:00
Mike Walters
caa2709ffc plot: Draw centre-line 2016-03-01 22:32:30 +00:00
Mike Walters
f43412231d plot: Move trace plotting out of PlotView 2016-02-29 00:29:45 +00:00