Increase visibility of vectorscope pointer

This commit is contained in:
Lawrence Lee
2020-08-09 18:00:12 -07:00
parent f7c02af184
commit e247a1e086

View File

@@ -1457,10 +1457,19 @@ void HistogramArea::drawVectorscope(Cairo::RefPtr<Cairo::Context> &cr, int w, in
cx = w / 2.f + scope_size * pointer_a * ab_factor;
cy = h / 2.f - scope_size * pointer_b * ab_factor;
}
cr->arc(cx, cy, 2 * s, 0, 2 * RT_PI);
cr->set_source_rgb(0, 0, 0);
cr->fill_preserve();
cr->set_source_rgba(1, 1, 1, 0.5);
cr->set_dash(ch_ds, 0);
cr->move_to(0, cy);
cr->line_to(w, cy);
cr->move_to(cx, 0);
cr->line_to(cx, h);
cr->stroke();
cr->unset_dash();
cr->arc(cx, cy, 3 * s, 0, 2 * RT_PI);
cr->set_source_rgb(1, 1, 1);
cr->fill_preserve();
cr->set_source_rgb(0, 0, 0);
cr->set_line_width (1.0 * s);
cr->stroke();
}
}