Normally a fixture is used to hold all the tubes in alignment, using the head tube, bottom bracket, top of seat tube and rear dropouts as reference points. At various points in the process, an alignment table is used to check and tweak the alignment. It is possible to use a flat surface and spacers as a reference to build a frame. My first frame was built with a straightedge, clamps and spacers. It rode fine for thousands of miles.