Theory of the Continuous X-Ray Spectrum