Hi everyone,
I am trying to add rounded endcaps to lines I am drawing between two rotary sliders to show that the sliders are connected. I have no idea how to create these endcaps. Here’s what I have so far. How would I progress from here?
Line<float> ban1Line (Point<float> (230 , 122),
Point<float> (230 , 152));
Line<float> ban2Line (Point<float> (370 , 122),
Point<float> (370 , 152));
Line<float> ban3Line (Point<float> (510 , 122),
Point<float> (510 , 152));
g.drawLine(ban1Line, 4.f);
g.drawLine(ban2Line, 4.f);
g.drawLine(ban3Line, 4.f);
Thank you,
Andy