On the solution of the transfer equation for continuum radiation in inhomogeneous atmospheres.Radiative transfer equation solution for spectral line formed in two dimensionally varying atmosphere extended to continuum radiation in inhomogeneous atmospheres