The optical square is used to measure angles by -