using namespace std;
const float LogicSignal::Margin = 10.0f;
+const float LogicSignal::Oversampling = 2.0f;
const QColor LogicSignal::EdgeColour(0x80, 0x80, 0x80);
const QColor LogicSignal::HighColour(0x00, 0xC0, 0x00);
snapshot->get_subsampled_edges(edges,
min(max((int64_t)floor(start), (int64_t)0), last_sample),
min(max((int64_t)ceil(end), (int64_t)0), last_sample),
- samples_per_pixel, _probe_index);
+ samples_per_pixel / Oversampling, _probe_index);
assert(edges.size() >= 2);
// Paint the edges
{
private:
static const float Margin;
+ static const float Oversampling;
static const QColor EdgeColour;
static const QColor HighColour;