A nano-circuit surface for sub-wavelength pattern synthesis at optical frequencies