html5 canvas prevent linewidth scaling
问题 If I draw a rectangle of say linewidth=2 and then scale it to double the size of the rectangle, I get a rectangle that has its border double the size of the initial linewidth. Is there a way to keep the linewidth to the perceived size of 2 or the original size. In short, I want to just scale the size of the rectangle but keep the linewidth visually of size 2. I tried setting the linewidth before and after the scale(2,2) command but the border width also increases. One option is to divide the