How to draw thick lines with straight endings ?

asked 2015-05-08 06:35:11 -0500


The line function draws with rounding endings if they are thick. Is there a way to draw them with straight endings without explicitly constructing a rectangle and drawing a rectangle instead?

edit retag flag offensive close merge delete



I guess no. You would either go as it is or apply a dirty solution, like the ones here, or the one you are mentioning.

theodore gravatar imagetheodore ( 2015-05-08 08:54:11 -0500 )edit