using pixel density to calculate size drawing. Need to test with high dpi screen.