2d Painter class diagram