Change init() to Graphics::drawLine(), code clean up