Exposure with X-ray radiation or corpuscular radiation, through a mask with a pattern opaque to that radiation