The square footage of a pitched roof (or a dome) should be determined by calculating the surface area of the roofing material itself, not the area as seen from above.

Question
How does one calculate the square footage of a pitched roof?