Increase visibility of vectorscope pointer
This commit is contained in:
@@ -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;
|
cx = w / 2.f + scope_size * pointer_a * ab_factor;
|
||||||
cy = h / 2.f - scope_size * pointer_b * 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_rgba(1, 1, 1, 0.5);
|
||||||
cr->set_source_rgb(0, 0, 0);
|
cr->set_dash(ch_ds, 0);
|
||||||
cr->fill_preserve();
|
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->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();
|
cr->stroke();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user