Reading the "General Trattato" of Niccolò Tartaglia as a textbook of geometry