Convert pen width to DP in StrokePath().