Drawing lines, curves, and irregular shapes