Trying to learn how to draw vector graphics