Using this example coming from wikipedia, in which DrawSquare() calls DrawLine(), (Note that this diagram h