X-ray point- and line-projection microscopy and diffraction