Implement support for Graphics#curveTo

Also changed Graphics#clear to reset the instance's bounds.