1
0
mirror of https://github.com/rricharz/Tek4010.git synced 2026-02-26 17:03:25 +00:00

Fix draw vector bright spot line width

This commit is contained in:
hanyazou
2024-06-05 19:39:25 +09:00
parent 5320761b9b
commit d3037d36b4

View File

@@ -899,7 +899,7 @@ void tube_drawVector(cairo_t *cr, cairo_t *cr2)
// draw the bright spot
cairo_set_line_width (cr, (pensize+1) + defocussed);
cairo_set_line_width (cr2, (pensize+1) + defocussed);
cairo_set_source_rgb(cr2, BRIGHT_SPOT_INTENSITY/2, BRIGHT_SPOT_INTENSITY, BRIGHT_SPOT_INTENSITY/2);
cairo_move_to(cr2, tube_x0, windowHeight - tube_y0);
cairo_line_to(cr2, tube_x2, windowHeight - tube_y2);