Graphics2D Scaling + Line Thickness
843806Mar 6 2008 — edited Mar 17 2008i want to be able to scale my graphics context but retain my stroke width.
if i know the stroke width i can hack this up myself by using
stroke = new BasicStroke(prevWidth / gfx.getTransform().getScaleX())
assuming the x and y are scaled the same (they are).
is there another way to do this?