Double integrals over general regions

Over a region between two curves the inner limits are functions of the outer variable, and reversing the order means redrawing the region and reading new limits off it.

From Multivariable Calculus.