Ion Irradiation for Planar Patterning of Magnetic Materials