Add documentation of Painter