Update Painter.h