use coordinate system not pixels