def _pixelsize(self, p):
xpixelsize = <NUM_LIT:1.>/float(p.xdensity)<EOL>ypixelsize = <NUM_LIT:1.>/float(p.ydensity)<EOL>return max([xpixelsize,ypixelsize])<EOL>
Calculate line width necessary to cover at least one pixel on all axes.